I am trying to send html email from a remote server.
The email is sent ok without the image html but can someone tell me if this, or a variation should work or do I need to find an alternative solution.
Keith
The email is sent ok without the image html but can someone tell me if this, or a variation should work or do I need to find an alternative solution.
Code:
open( EZMAIL, "|/bin/easymail -t" ) or return 1;
print EZMAIL "Content-Type: text/html\n";
print EZMAIL "From: welcome\@sourcename.co.uk\n";
print EZMAIL "To: cli1\@targetname.co.uk\n";
print EZMAIL "Subject: some subject\n\n";
print EZMAIL "<img src='[URL unfurl="true"]http://www.imagelocat.co.uk/icons/upgrade.gif'[/URL] alt='testpic'>\n";
print EZMAIL "Some content.\n";
close (EZMAIL);
Keith