troubleshooting Question

ms outlook change the from email sent from using vba code

Avatar of sydneyguy
sydneyguyFlag for Australia asked on
Microsoft AccessVisual Basic ClassicOutlook
4 Comments1 Solution448 ViewsLast Modified:
have my out look that i use to send out a 20 -30 emails for work, and when it arrives it says from , but need to say that the email comes from
i am composing the email out of a DB and building it in the back end as below but cannot see how to change the email from in the header even though  i have the other email set up in the email account, were is the default setting to set this up
any help would be appreciated
using outlook 2003

               Dim olapp As Outlook.Application
               Dim objmail As Outlook.MailItem
               Dim pos As Integer
               Set olapp = Outlook.Application
               Set objmail = olapp.CreateItem(olMailItem)
               objmail.BodyFormat = olFormatRichText
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros