imap_mail_compose question

From: Date: Thu, 07 Sep 2000 20:59:43 +0000
Subject: imap_mail_compose question
Groups: php.general 
Request: Send a blank email to php-general+get-15777@lists.php.net to get a copy of this message
Hi all, I'm a PHP newbie so bear with me my question is: how do i use imap_mail_compose()? Ok, i build a string containing the mime message, but how do i deliver it? both mail() and imap_mail() treat the <message> parameter as a text part and send it to whatever is in the <to> parameter. should i add the result of imap_mail_compose to the <additional headers> param? (cause these seem to be dumped in the outgoing mail file) one soultion would be smth like: $mailcontent = imap_mail_compose(whatever); <write $mailcontent into file mailfile.tmp> exec("cat mailfile.tmp | sendmail -t"); is there other way to do it? thanks cristi

« previous php.general (#15777) next »