![]() |
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
|
|||
|
|||
![]()
Okay, I have looked through the rules in outlook 2000, 2003 and 2007 and can
not find anything that lets me "auto send" mail based off of an email that will be in the body of the email recieved. Ebay sends us an email stating that has won the auction and to contact him with payment info, but the reply to address is the @ebay.com address. I could have swore there was a way to do this in VBscript but cant seem to figure it out. The reason we cant set ebay up to send the info out is because we are handling ebay sales for an etailer for a commission, and they still want all payments processed through their secure payment page. Please feel free to contact me if you think you can help, I am at a brick wall ![]() eventually DO lose it) adam_rogers at hotmail will be the fastest way to get ahold of me. thanks in advance for any help you can provide! |
#2
|
|||
|
|||
![]()
Sounds like a "run a script" rule action could help. This actually uses not an external script but a VBA procedure with a MailItem or MeetingItem as its parameter. That item is processed by the code:
Sub RunAScriptRuleRoutine(MyMail As MailItem) Dim strID As String Dim olNS As Outlook.NameSpace Dim msg As Outlook.MailItem Dim rep as Outlook.MailItem strID = MyMail.EntryID Set olNS = Application.GetNamespace("MAPI") Set msg = olNS.GetItemFromID(strID) Set rep = msg.Reply rep.Body = "Your text goes here" rep.Send Set rep = Nothing Set msg = Nothing Set olNS = Nothing End Sub If you need to parse out an email address from the message body, regular expressions can be helpful for that. See http://www.outlookcode.com/d/vbscript.htm for links to references. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Adam_Rogers" wrote in message ... Okay, I have looked through the rules in outlook 2000, 2003 and 2007 and can not find anything that lets me "auto send" mail based off of an email that will be in the body of the email recieved. Ebay sends us an email stating that has won the auction and to contact him with payment info, but the reply to address is the @ebay.com address. I could have swore there was a way to do this in VBscript but cant seem to figure it out. The reason we cant set ebay up to send the info out is because we are handling ebay sales for an etailer for a commission, and they still want all payments processed through their secure payment page. Please feel free to contact me if you think you can help, I am at a brick wall ![]() eventually DO lose it) adam_rogers at hotmail will be the fastest way to get ahold of me. thanks in advance for any help you can provide! |
#3
|
|||
|
|||
![]()
Thank you so much Sue, my fiancee has been on me to try to figure this one
out for a while now and this looks like it will work for me. you are the best! "Sue Mosher [MVP-Outlook]" wrote: Sounds like a "run a script" rule action could help. This actually uses not an external script but a VBA procedure with a MailItem or MeetingItem as its parameter. That item is processed by the code: Sub RunAScriptRuleRoutine(MyMail As MailItem) Dim strID As String Dim olNS As Outlook.NameSpace Dim msg As Outlook.MailItem Dim rep as Outlook.MailItem strID = MyMail.EntryID Set olNS = Application.GetNamespace("MAPI") Set msg = olNS.GetItemFromID(strID) Set rep = msg.Reply rep.Body = "Your text goes here" rep.Send Set rep = Nothing Set msg = Nothing Set olNS = Nothing End Sub If you need to parse out an email address from the message body, regular expressions can be helpful for that. See http://www.outlookcode.com/d/vbscript.htm for links to references. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Adam_Rogers" wrote in message ... Okay, I have looked through the rules in outlook 2000, 2003 and 2007 and can not find anything that lets me "auto send" mail based off of an email that will be in the body of the email recieved. Ebay sends us an email stating that has won the auction and to contact him with payment info, but the reply to address is the @ebay.com address. I could have swore there was a way to do this in VBscript but cant seem to figure it out. The reason we cant set ebay up to send the info out is because we are handling ebay sales for an etailer for a commission, and they still want all payments processed through their secure payment page. Please feel free to contact me if you think you can help, I am at a brick wall ![]() eventually DO lose it) adam_rogers at hotmail will be the fastest way to get ahold of me. thanks in advance for any help you can provide! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Auto-Accept Meeting Based on Sender | [email protected] | Outlook - Calandaring | 1 | January 6th 07 02:28 AM |
anything capable to delete junk mails based on body text? | zero | Outlook Express | 7 | December 19th 06 10:50 PM |
Creating macro that will sort emails into folders based on text in body | mugginns | Outlook and VBA | 5 | October 3rd 06 07:49 AM |
Forward emails based on text in body of e-mail | [email protected] | Outlook and VBA | 0 | August 24th 06 04:37 PM |
FYI -Creting server based outo reply rule in outlook | CAMC1 | Outlook - General Queries | 0 | August 1st 06 06:26 PM |