M
mick.smith1
I have 2 email accounts in outlook and depending on the content of
incoming emails I have an Access database which automatically sends a
response. Depending on the email content will determine which email
address I put in the from field.
So far the nearest I have come to achieving this is to add a contact
and then use the mailitem .SentOnBehalfOfName = "Contact"
Is there a way to specify programatically the email address in the from
field or programatically change the default email account.
Thanks for any assistance.
incoming emails I have an Access database which automatically sends a
response. Depending on the email content will determine which email
address I put in the from field.
So far the nearest I have come to achieving this is to add a contact
and then use the mailitem .SentOnBehalfOfName = "Contact"
Is there a way to specify programatically the email address in the from
field or programatically change the default email account.
Thanks for any assistance.