atomaka
02-12-2003, 05:01 PM
Hello. I am having problems with a formmail script I am using. The script works perfectly fine most of the time, but sometimes, it won't send the emails. The emails it refuses to send to seem to be pretty consistent by domain. I am using the following code:
open(DETAILS,'|/usr/sbin/sendmail -t')or $Core::fnc->general_error('Could not send details email');
print DETAILS "To: $email\n";
print DETAILS "From: Andrew Tomaka ($Core::admin_email)\n";
print DETAILS "Subject: Your ######## Registration!\n\n";
print DETAILS "Congratulations on signing up. You may now proceed to the login screen and log in with the following details:\n";
print DETAILS " Username: $username\n";
print DETAILS " Password: $password\n";
print DETAILS "Welcome Aboard!\n";
close(DETAILS);
I just find it weird that it works on some emails and not all, leading me to believe it is some server setting or something, but I need to know if there is a way to fix it.
Thanks for your time!
~ Andrew Tomaka
open(DETAILS,'|/usr/sbin/sendmail -t')or $Core::fnc->general_error('Could not send details email');
print DETAILS "To: $email\n";
print DETAILS "From: Andrew Tomaka ($Core::admin_email)\n";
print DETAILS "Subject: Your ######## Registration!\n\n";
print DETAILS "Congratulations on signing up. You may now proceed to the login screen and log in with the following details:\n";
print DETAILS " Username: $username\n";
print DETAILS " Password: $password\n";
print DETAILS "Welcome Aboard!\n";
close(DETAILS);
I just find it weird that it works on some emails and not all, leading me to believe it is some server setting or something, but I need to know if there is a way to fix it.
Thanks for your time!
~ Andrew Tomaka
