Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA in Access To Send Email through Outlook

Status
Not open for further replies.

Caryisms

Technical User
Oct 17, 2001
132
US
Is there any way to stop placing the report name on top of each email? Here is the code.

DoCmd.SendObject acSendReport, "Report Test", acFormatRTF, txtTO, txtCC, txtBCC, txtSubject & " " & " - " & rs![OrgKey], txtMessage, False
rs.MoveNext

Every time I send an email it says

<<Report Test.rtf>>
 
Begin more specific..

You mean the file name is Report Test.rtf, or the body of the message? or the subject? Or the title bar of the mail message?
 
It is far easier to reference the Outlook object model and create a new mail item.

Do a search in this forum on it as there must have been about 1000 threads on sending files from Access via Outlook.

If at first you don't succeed, try for the answer.
 
hi caryisms,

i responded to your other thread (thread705-783554) on this subject. let me know if it helps.

also, check out my faqs: faq702-4509 and faq702-2921.

Have A Great Day!!!, [bigglasses]

Nathan
Software Testing Lead
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top