C# Class Microsoft.VisualStudio.R.Package.Interop.MapiMail

Show file Open project: Microsoft/RTVS

Public Methods

Method Description
AddAttachment ( string strAttachmentFileName ) : void
AddRecipientTo ( string email ) : bool
SendMailPopup ( string strSubject, string strBody ) : int

Private Methods

Method Description
AddRecipient ( string email, HowTo howTo ) : bool
Cleanup ( MapiMessage &msg ) : void
GetAttachments ( int &fileCount ) : IntPtr
GetRecipients ( int &recipCount ) : IntPtr
MAPISendMail ( IntPtr sess, IntPtr hwnd, MapiMessage message, int flg, int rsv ) : int
SendMail ( string subject, string body, int how ) : int
ThreadProc ( object o ) : void

Method Details

AddAttachment() public method

public AddAttachment ( string strAttachmentFileName ) : void
strAttachmentFileName string
return void

AddRecipientTo() public method

public AddRecipientTo ( string email ) : bool
email string
return bool

SendMailPopup() public method

public SendMailPopup ( string strSubject, string strBody ) : int
strSubject string
strBody string
return int