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
"DavidC" <dlchase@lifetimeinc.com> wrote in message
news:A8E7FD08-976C-45B7-9105-9DCC6BEA0ED0@microsoft.com...
> 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?
> > David
> "Sue Mosher [MVP]" wrote:
>
> > For Outlook 2003/Exchange 2003, take a look at the
> > MailItem.SentOnBehalfOfName property.
>
>> "DavidC" <dlchase@lifetimeinc.com> wrote in message
> > news:7082CFEF-6BE0-4A3E-B4EC-810959369D7A@microsoft.com...
> > > 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.
> > > > > > David
> >>> > "Sue Mosher [MVP]" wrote:
> >> >> 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.
> > >
>> >> "DavidC" <dlchase@lifetimeinc.com> wrote in message
> > >> news:592FC123-98F8-40DE-950E-BE570E119286@microsoft.com...
> > >> > 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.