This is a generic version of what I use when I send something. It needs to be in HTML format. You can change the txt Items to whatever you need for your purpose.
Sub SendIntroMail()
Dim msgSample as New MailMessage
msgSample.BodyFormat = MailFormat.HTML
msgSample.To = txtFirstName.Value...
That would work if I was trying to send as another user, but I am not. I am trying to send as one of my alias'.
For example I have my regular e-mail account of phil@mydomain.com but also receive the e-mail for webmaster@mydomain.com. How do I go about sending e-mail 'as'...
My company has a primary domain name and several secondary domains. All users have an email account under the primary domain (user@domain1.com) and several users have alias' for the secondary domains (user@domain2.com).
I need to find a way for the users who have alias' to be able to 'send...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.