![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Tags: change, create, mail, sender |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I write some code for add email to outlook. But i do't
change "sender",who can help me? thanks! My Code like this... _MailItemPtr pNewMail; pNewMail=m_pItems-Add(); pNewMail-To="someone"; pNewMail-CC="someone"; pNewMail-Subject="subject"; pNewMail-Body="body"; pNewMail-UnRead = FALSE; pNewMail-Save(); NewMail-Move(m_pFolder); |
| Ads |
|
#2
|
|||
|
|||
|
use the SentOnBehalfOfName
eg SentOnBehalfOfName = "Betty" "StupidDog" wrote in message ... I write some code for add email to outlook. But i do't change "sender",who can help me? thanks! My Code like this... _MailItemPtr pNewMail; pNewMail=m_pItems-Add(); pNewMail-To="someone"; pNewMail-CC="someone"; pNewMail-Subject="subject"; pNewMail-Body="body"; pNewMail-UnRead = FALSE; pNewMail-Save(); NewMail-Move(m_pFolder); |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| safe sender mail still go to junk folder | Ray | Outlook - Using Contacts | 0 | March 16th 06 05:37 PM |
| script to create local pst, change profile | dpare1@cox.net | Outlook - General Queries | 0 | March 8th 06 04:37 PM |
| can i group emails by sender & by number of items for each sender | baffled_by_tech | Outlook - Using Contacts | 2 | March 5th 06 09:27 PM |
| Junk mail: How to create a button for "Add sender to blocked sender list" | Nananana | Outlook - General Queries | 2 | February 2nd 06 01:37 PM |
| Can not change or create appointment | Brian | Outlook - Calandaring | 0 | January 26th 06 04:17 PM |