Change FROM email

D

DavidC

We are looking at a web fax servcie and would like to have some of our
automated emails use a common email address when sending a fax so that all go
into a common user inbox. Is that possible? Thanks.
 
S

Sue Mosher [MVP]

Yes, it's possible, but the details depend on the Outlook version and
whether the common inbox is in an Exchange mailbox. You should always
include information like that when posting on an Outlook forum.
 
D

DavidC

Sorry, we are using Exchange and Outlook 2003. It would be nice to have a
solution for either environment. We are web developers and some of our
customers are using Outlook and communicating directly to the mail provider
and others funnelling everything through Exchange. HTH.
 
D

DavidC

Thank you. I take it that will not work if the users are not on Exchange?
Or is that not a problem since I am just filling in the FROM email address in
that scenario?
 
S

Sue Mosher [MVP]

Correct. If the user is not on Exchange, there is no direct way to change
the sender for an outgoing message. These are known (and sometimes partial)
workarounds using native Outlook functionality:

1) If the user has Outlook 2002/3 and is not using WordMail as the editor,
you set the sending account using CommandBars techniques. See
http://www.outlookcode.com/codedetail.aspx?id=889 for sample code.

2) You can set the SentOnBehalfOfName property, but the recipient will
probably see the user's default sending address as well, which may not be
desireable.

3) If you're mainly concerned about replies to your message going to the
correct place, add the desired reply address to the MailItem.ReplyRecipients
collection.

The third-party Redemption ( http://www.dimastr.com/redemption/ ) library
adds two other solutions:

4) Set an RFC822 header property, as described at
http://www.dimastr.com/redemption/faq.htm#14

5) Set the RDOMail.Account property, as described at
http://www.dimastr.com/redemption/rdo/RDOMail.htm

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top