bool AddRecipient(string email, HowTo howTo) { MapiRecipDesc recipient = new MapiRecipDesc(); recipient.recipClass = (int)howTo; recipient.name = email; // Note: For Outlook Express it would be better to also set recipient.address so that it // shows the email address in the confirmation dialog, but this messes up things in // Outlook and Windows Mail. m_recipients.Add(recipient); return true; }
bool AddRecipient(string email, HowTo howTo) { MapiRecipDesc recipient = new MapiRecipDesc(); recipient.recipClass = (int)howTo; recipient.name = email; // Note: For Outlook Express it would be better to also set recipient.address so that it // shows the email address in the confirmation dialog, but this messes up things in // Outlook and Windows Mail. m_recipients.Add(recipient); return(true); }