Ok...I've got imap_mail_compose working great I just need to know how to send that. I pass stuff to imap_mail with server info and all that, but apparently, it generates its own headers and the message sent is the straight MIME that imap_mail_compose returns. (FILE ATTACHMENTS STILL ENCODED ETC)
the only way I've found of fixing this is to use
$p=popen("sendmail -t ", "w");
if ($p) {
fputs($p, imap_mail_compose(....));
pclose($p);
}
anyhow, this doesn't let me know if sendmail returns correctly, and I'd assume this isn't very efficient....
let me know.
Thanks
Brad House
brad@mainstreetsoftworks.com