Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Send Mail Outlook OLE Reply-To
Now I would like to fill-in the "Reply-To"-field. How can I do that with OLE?
You will need to see the OLE Automation documentation for Outlook.
The Visual Basic for Applications Help file for Microsoft Outlook contains valuable information about the methods, properties, and objects that the Microsoft Outlook 97 object model supports. This Help file, VBAOUTL.HLP, is included in the ValuPack\MoreHelp folder on the Microsoft Office 97 CD-ROM. The Help file is also available for download.
For more information about downloading the Visual Basic for Applications Help file for Microsoft Outlook 97, please see the following article in the Microsoft Knowledge Base:
Q162671 OL97: Visual Basic Help File for Microsoft Outlook Available http://support.microsoft.com/support/kb/articles/Q162/6/71.ASP
This might help....
REPLY METHOD Creates a reply, pre-addressed to the original sender, from the journal entry or mail message. Returns the reply as a MailItem object. Syntax expression.Reply expression An expression that returns a JournalItem or MailItem object.
Again, I'm not sure what you're asking for but you can send the email message ON BEHALF OF another mailbox, provided you're DELEGATED to do so.
; make it look like EXAV mailbox sent it, so that replies go there...and send it
omsg.sentonbehalfofname = "EXAV"
(this is from a wbt script.) just add this line in before you send the message.
(omsg = message object)
This way all replies to the email are sent to the above mailbox instead of yours.
I had to resort to
objOutlookMsg.SentOnBehalfOfName = "othername@xyz.com"
which seemed to do the trick.
Article ID: W14684
Filename: Outlook Reply-To in OLE.txt
File Created: 2001:01:23:14:07:22
Last Updated: 2001:01:23:14:07:22