A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

New automatic generated email



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 3rd 10, 09:44 AM
Rod Pullman Rod Pullman is offline
Junior Member
 
First recorded activity at Outlookbanter: Sep 2010
Posts: 1
Default New automatic generated email

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook Express generated email [email protected] Outlook - Installation 1 July 14th 07 06:15 AM
After each initialisation, a new draft EMail is generated. dentaku Add-ins for Outlook 1 April 16th 07 05:39 PM
Signatures in application generated email bearly Outlook - Using Forms 0 April 11th 07 04: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 07:14 PM


All times are GMT +1. The time now is 05:33 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.