
22.08.2007, 21:25
|
|
Новичок
Регистрация: 26.12.2005
Сообщений: 12
Провел на форуме: 51870
Репутация:
3
|
|
PHP код:
require MIME::Lite;
$msg = MIME::Lite->new( From =>'email@adr.com', To =>'email@host.com', Subject =>'text_dubj', Type => 'multipart/related'); $msg->attach(Type =>'text/plain; charset=windows-1251', Data => 'message_text');
$msg->attach(Type => 'image/gif', Path => 'path_to_file', Filename =>'name_of_file');
$msg->send();
|
|
|