Sending emails from a different account

Discussion in 'Microsoft Access VBA Modules' started by ManuPR, Apr 2, 2008.

  1. ManuPR

    ManuPR Guest

    Hi all,

    I have an application that sends a notification email when an appointment is
    booked. The problem I'm having is that when using SendObject, Outlook
    automatically sends the email from the default account and I want to specify
    a different account to manage the replies. I thought on using Outlook
    Automation because I know there is a way to specify a "From" email address in
    Outlook but the problem with this is that Outlook automatically adds "On
    Behalf Of" to the from info line of the email and I want to avoid that. Is
    there a way to override this behavior? Or is there a way to send emails from
    Access specifying an SMTP server, account, email address, etc?
     
    ManuPR, Apr 2, 2008
    #1
    1. Advertisements

  2. ManuPR

    JP Guest

    Look for the thread "Setting account for an outgoing email" in the
    newsgroup microsoft.public.outlook.program_vba.


    HTH,
    JP

    On Apr 2, 6:01 pm, ManuPR <> wrote:
    > Hi all,
    >
    > I have an application that sends a notification email when an appointment is
    > booked. The problem I'm having is that when using SendObject, Outlook
    > automatically sends the email from the default account and I want to specify
    > a different account to manage the replies. I thought on using Outlook
    > Automation because I know there is a way to specify a "From" email addressin
    > Outlook but the problem with this is that Outlook automatically adds "On
    > Behalf Of" to the from info line of the email and I want to avoid that. Is
    > there a way to override this behavior? Or is there a way to send emails from
    > Access specifying an SMTP server, account, email address, etc?
     
    JP, Apr 2, 2008
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page