Exemplo n.º 1
0
		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;
		}
Exemplo n.º 2
0
        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);
        }