PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Aug 24, 2019 5:22 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: php + exim
PostPosted: Wed Oct 08, 2008 12:52 pm 
Offline
Forum Newbie

Joined: Wed Oct 08, 2008 12:51 pm
Posts: 1
i found a script on internet . The script is in php and used to send mails . It works fine for me

$to = escapeshellcmd($to);
$from = escapeshellcmd($from);
$exim = popen('/path/to/exim -f ' . $from . ' ' . $to, 'w');
fwrite($exim, $message);
pclose($exim);


Here i can specify to and from field .
But , how can i add subject , header etc fields to it ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group