I have that same problem! I simply used a trial code to send an email to myself to make sure the code worked. The code WORKS as far as creating the email and formatting to my specifications, but for some reason, I can’t get the addresses read by the sendmail program. = / I used a one question survey to test my code.
open (MAIL, “|/usr/sbin/sendmail -oi -t”);
Subject: Survey Input
Blah blah, message.
I receive the “failed delivery status” report at my site’s address, but that’s independent of my “FROM” address. The email is properly written, as I said, but just never sent to the addresses. If you figure anything out or if anyone else knows of anything, please bounce me a message!
By the way, I’m stubborn and want to use SENDMAIL properly before trying the MIME-tools. d= P Thanks!