How to send an html page using the email printer


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Jim Guerber on May 01, 2010 at 14:21:19:

Some of you have asked how to send an html formatted email. That is an email that does not have the html as an attachment, but as the body of the email itself.

It could not be simpler. First configure a printer like this:

Printer = Lhe,h ,n, ,HTM,emailptr;

Then write a program like this:

close(1) & open(1)'lhe'
print(1) 'Hi There, Hows this image?<br>'
print(1) '<table width="500" cellpadding="3" cellspacing="0" align="center">'
print(1) '<td><img src="http://signature.net/images/books@_stacked.jpg"></td>'
print(1) '</tr></table>'
close(1)
stop

Do NOT use (text= ) mnemonics.

Set up your email.ini file appropriately and there you have it.




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]