Email

Post Reply
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Email

Post by Colin Haig »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Email

Post by Antonio Linares »

Colin,

Please review FWH\samples\testsmtp.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: Email

Post by Colin Haig »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Email

Post by Antonio Linares »

Colin,

You can send HTML using Class TSmtp

so you need to find how to embed those documents into HTML
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Email

Post by Antonio Linares »

<embed src="http://example.com/the.pdf" width="500" height="375" type='application/pdf'>

http://stackoverflow.com/questions/2918 ... df-in-html
regards, saludos

Antonio Linares
www.fivetechsoft.com
Colin Haig
Posts: 310
Joined: Mon Oct 10, 2005 5:10 am

Re: Email

Post by Colin Haig »

Hi Antonio

Thanks for the help - I will look at the html option.

Cheers

Colin
Post Reply