![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi guys,
I want Outlook 2010 to send an email when I complete a certain task. I found a microsoft article http://support.microsoft.com/kb/239087 with the following code: Sub Item_PropertyChange(ByVal Name) Select Case Name Case "Status" if Item.Status = 2 then '2 = Completed Set NewItem = Application.CreateItem(0) NewItem.To = " NewItem.Recipients.ResolveAll NewItem.Subject = "Subject header" NewItem.Body = "This is text that will appear in the body of the message." NewItem.Display NewItem.Send End IF End Select End Sub and I managed to get this to work. However I want the email to go to multiple email addresses and have multiple lines in the body. With me basically being a script kiddie with no real knowledge of programming can someone help me? Regards, Rod |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook Express generated email | [email protected] | Outlook - Installation | 1 | July 14th 07 07:15 AM |
After each initialisation, a new draft EMail is generated. | dentaku | Add-ins for Outlook | 1 | April 16th 07 06:39 PM |
Signatures in application generated email | bearly | Outlook - Using Forms | 0 | April 11th 07 05:02 PM |
Indicate auto-generated email not to be spell checked? | ArchieDog via OfficeKB.com | Outlook and VBA | 2 | March 19th 07 09:00 AM |
Retrieve the Email address from an automatically generated delivered/read message. | Gordon Filby | Outlook and VBA | 6 | July 7th 06 08:14 PM |