CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
html im mail?

 



ultimategamer2k
User

Apr 4, 2001, 6:16 PM

Post #1 of 2 (335 views)
html im mail? Can't Post

what do you have to do to make it so that you can use HTML in your emails?

and what is wrong with this?
(it only mails to the first person in the list that is formattted like this- whoever@whatever.com:ya@no.com:y@n.com:)

open(SENDMAIL,"|$sendmail -f \"UltimateGamers\" -t");
open (ADDYS, "addys.ug");
@addys=<ADDYS>;
close ADDYS;
foreach $addys (@addys){
($address)=split(/:/, $addys);
print SENDMAIL "to:$address\n";
print SENDMAIL "from:mailinglist\@ultimategamer.cjb.net\n";
print SENDMAIL "subject:$subject\n\n";
print SENDMAIL "@body";
close SENDMAIL;
}
-------------------------------------------------------------
visit my web site at <href=http://ultimategamer.cjb.net>here</a>


sleuth
Enthusiast

Apr 7, 2001, 3:05 AM

Post #2 of 2 (322 views)
Re: html im mail? [In reply to] Can't Post

 
Just print the content-type,

print MAIL "Content-type: text/html\n\n";

It's also somewhere in the FAQ too,

Tony


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives