Forum Webscript.Ru
Программирование => Perl => Тема начата: AndyAN от 10 Ноября 2002, 05:02:10
-
Доброго времени суток !!!!!
Пожалуйста подскажите как вставить html код в отправляемое писмо... Или скажите где можно почитать инфу ??
open (MAIL, "|$mailprog -t") || &Error(\'Could not open Sendmail.\');
print MAIL "From: $senderemail ($sendername)\\n";
print MAIL "To: $cardrecipient\\n";
print MAIL "Subject: $notification_subject\\n\\n";
print MAIL "$notification_message\\n";
close (MAIL);
-
html
print MAIL "Content-type: text/html";
где можно почитать инфу
rfc822, rfc1341, rfc2045, rfc2046,
http://www.astu.astranet.ru:8080/internet/services/index.shtml (ru; раздел 3.2),
perldoc Mime::Lite.
-
YA спасибо за помошь..
-
Посмотри здесь http://forums.webscript.ru/showthread.php?s=&postid=56388#post56388