Re: Access 2003 and Emailing via Outlook
From: Scott (sbailey_at_mileslumber.com)
Date: 02/16/04
- Next message: Graham Mandeno: "Re: Date + 6 months"
- Previous message: Hakkan: "Date + 6 months"
- In reply to: Yuan Shao: "Re: Access 2003 and Emailing via Outlook"
- Next in thread: Yuan Shao: "Re: Access 2003 and Emailing via Outlook"
- Reply: Yuan Shao: "Re: Access 2003 and Emailing via Outlook"
- Reply: Christine: "Re: Access 2003 and Emailing via Outlook"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 16 Feb 2004 16:34:22 -0600
I tried below, but it still hangs in outbox. Do you have any ideas on a fix?
DoCmd.SendObject acSendTable, "Employees", acFormatRTF, myemail@myemail.com,
, , "Test Access", "test", False
""Yuan Shao"" <v-yshao@online.microsoft.com> wrote in message
news:CxuHExI9DHA.2164@cpmsftngxa07.phx.gbl...
> Hi Scott,
>
> Thanks for your post. If I understand correctly that you are unable to
send
> the mail automatically via the following codes.
>
> DoCmd.SendObject acSendReport, , acFormatRTF, response
>
> Based on my research, please try to explicitly set the value of
EditMessage
> parameter of the SendObject method to False to send the message without
> edition.
>
> EditMessage parameter
> Optional Variant. Use True (-1) to open the electronic mail application
> immediately with the message loaded, so the message can be edited. Use
> False (0) to send the message without editing it. If you leave this
> argument blank, the default (True) is assumed.
>
> For more information on SendObject method, please refer to the following
> article:
> SendObject Method
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000/htm
> l/acmthactSendObject.asp
>
> For example in the northwind.mdb sample database:
>
> DoCmd.SendObject acSendReport, "Employees", , "<mail address>", , , _
> "Current Spreadsheet of Employees", , False
>
> It works on my side in Access 2003 with Outlook 2003. Please check to see
> if it meets your requirements.
>
>
> Thanks for posting in community.
>
> Regards,
>
> Michael Shao
> Microsoft Online Partner Support
> Get Secure! - www.microsoft.com/security
> This posting is provided "as is" with no warranties and confers no rights.
>
- Next message: Graham Mandeno: "Re: Date + 6 months"
- Previous message: Hakkan: "Date + 6 months"
- In reply to: Yuan Shao: "Re: Access 2003 and Emailing via Outlook"
- Next in thread: Yuan Shao: "Re: Access 2003 and Emailing via Outlook"
- Reply: Yuan Shao: "Re: Access 2003 and Emailing via Outlook"
- Reply: Christine: "Re: Access 2003 and Emailing via Outlook"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|