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.
Similar Threads
  1. Daniel Hill

    Sending Emails from VBA

    Daniel Hill, Aug 7, 2003, in forum: Microsoft Access VBA Modules
    Replies:
    1
    Views:
    191
    Cheryl Fischer
    Aug 7, 2003
  2. Judy Grimes

    Trouble sending emails from Access

    Judy Grimes, Nov 20, 2003, in forum: Microsoft Access VBA Modules
    Replies:
    0
    Views:
    155
    Judy Grimes
    Nov 20, 2003
  3. Stacey

    Email sending from POP3 account

    Stacey, Aug 19, 2004, in forum: Microsoft Access VBA Modules
    Replies:
    0
    Views:
    182
    Stacey
    Aug 19, 2004
  4. Guest

    Sending eMail using Outlook for specific email account

    Guest, Jun 19, 2005, in forum: Microsoft Access VBA Modules
    Replies:
    0
    Views:
    222
    Guest
    Jun 19, 2005
  5. Guest

    Specify SMTP account when sending email through Outlook

    Guest, Sep 11, 2006, in forum: Microsoft Access VBA Modules
    Replies:
    3
    Views:
    247
    Ondine
    Sep 13, 2006
Loading...

Share This Page