Home
Forums
New posts
Search forums
Articles
Latest reviews
Search resources
Members
Current visitors
Newsgroups
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Redemption : Send message as a public folder
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="basson, post: 13518420, member: 95798"] Hi, The mail system is Exchange/Outlook. I have a system of public folder to send external mails. When I use redemption from Excel with the following code, the mail is sent from my mailbox: [CODE] Dim SafeItem, oItem Set App = CreateObject("Outlook.Application") Set SafeItem = CreateObject("Redemption.SafeMailItem") Set oItem = App.CreateItem(0) 'Create a new message SafeItem.Item = oItem 'set Item property SafeItem.To = "xxx@xxxl.com" SafeItem.Subject = "Subject" SafeItem.HTMLBody = "test" SafeItem.bodyformat = 1 SafeItem.SentOnBehalfOfName = "FRATEST" SafeItem.send [/CODE] As you can see the SentOnBehalfOfName is FRATEST (a public folder used to send external emails) But the message is sent from my personnal mailbox instead of FRATEST. In the from field I can see FRATEST but I retreive the message in my "sent items" I know that this system is not standard but do you have an idea on how I can proceed to send my mails from the public folder automatically ? Thx in advance, Best Regards. [/QUOTE]
Verification
Post reply
Home
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook VBA Programming
Redemption : Send message as a public folder
Top