Hi All
I would like to embed a word document/ pdf into an email for a newsletter mail out - I am using an
older version of xHarbour and have linked in the tsmtp.prg
Regards
Colin
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Email
Colin,
Please review FWH\samples\testsmtp.prg
Please review FWH\samples\testsmtp.prg
-
- Posts: 310
- Joined: Mon Oct 10, 2005 5:10 am
Re: Email
Hi Antonio
I checked the testsmtp.prg in the samples folder but it only showed attachments - I need to embed a document in the body of the email.
Regards
Colin
I checked the testsmtp.prg in the samples folder but it only showed attachments - I need to embed a document in the body of the email.
Regards
Colin
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Email
Colin,
You can send HTML using Class TSmtp
so you need to find how to embed those documents into HTML
You can send HTML using Class TSmtp
so you need to find how to embed those documents into HTML
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Email
<embed src="http://example.com/the.pdf" width="500" height="375" type='application/pdf'>
http://stackoverflow.com/questions/2918 ... df-in-html
http://stackoverflow.com/questions/2918 ... df-in-html
-
- Posts: 310
- Joined: Mon Oct 10, 2005 5:10 am
Re: Email
Hi Antonio
Thanks for the help - I will look at the html option.
Cheers
Colin
Thanks for the help - I will look at the html option.
Cheers
Colin