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?

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

    Sending Emails from VBA

    Daniel Hill, Aug 7, 2003, in forum: Microsoft Access VBA Modules
    Replies:
    1
    Views:
    239
    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:
    226
    Judy Grimes
    Nov 20, 2003
  3. Moiz, ABAC UK

    sending emails from Access 2000

    Moiz, ABAC UK, Feb 27, 2004, in forum: Microsoft Access VBA Modules
    Replies:
    0
    Views:
    205
    Moiz, ABAC UK
    Feb 27, 2004
  4. Nick

    Sending Multiple Emails

    Nick, Jun 2, 2004, in forum: Microsoft Access VBA Modules
    Replies:
    2
    Views:
    191
  5. Stacey

    Email sending from POP3 account

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

    Automatically sending a batch of emails

    Guest, Oct 12, 2004, in forum: Microsoft Access VBA Modules
    Replies:
    1
    Views:
    277
    Rick B
    Oct 12, 2004
  7. Guest

    Specify SMTP account when sending email through Outlook

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