I am currently using the DoCmd.SendObject to create a MS Outlook email with an attached Report file.
DoCmd.SendObject acSendReport, rsSteamship!ReportName, acFormatRTF, rsSteamship![EmailAddress], , , "Subject line of email", EmailBody
It works great. Now what I'd like to do is add the content of the Report into the body of the email. The reason for this is the end user would like to do searches in Outlook for specific "report" information. The Outlook Search doesn't look at the attachment.
I understand that the body of the email has to be in MS DOS text format. It will be important that the data in the body of the email be in columns.
Any ideas?
Thanks.
DoCmd.SendObject acSendReport, rsSteamship!ReportName, acFormatRTF, rsSteamship![EmailAddress], , , "Subject line of email", EmailBody
It works great. Now what I'd like to do is add the content of the Report into the body of the email. The reason for this is the end user would like to do searches in Outlook for specific "report" information. The Outlook Search doesn't look at the attachment.
I understand that the body of the email has to be in MS DOS text format. It will be important that the data in the body of the email be in columns.
Any ideas?
Thanks.