Send Email in HTML format (without attachement)

G

Guest

Hi All,

I have made a small utility which sends email to different recipients in
HTML format.
Since I am sending it through SendObject , it is converting the report in
HTML format and sending it as an attachment.

Is it possible that this HTML report goes as Email content - not as an
attachement?

Thanks for your reply

Regards
Avir
 
T

Tony Toews

Avir said:
I have made a small utility which sends email to different recipients in
HTML format.
Since I am sending it through SendObject , it is converting the report in
HTML format and sending it as an attachment.

Is it possible that this HTML report goes as Email content - not as an
attachement?

To create a formatted document to send as an email you will need to
use VBA code to create a largish string. This string will then be
passed to the SendObject command or other method as the body of the
email. For more details including sample air code see my Tips page
on this topic at http://www.granite.ab.ca/access/email/formatted.htm.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 

Ask a Question

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. After that, you can post your question and our members will help you out.

Ask a Question

Top