vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| i'm trying to configure ssmtp this is the file now: root=postmaster mailhub=mail.planet.nl rewriteDomain=tvreclames.nl i'm sending a mail in perl as follows: open(SENDMAIL, "|/usr/sbin/sendmail -t") or die "Cannot open /usr/sbin/sendmail -t: $!"; print SENDMAIL "From: \"TVReclames.nl\" <registratie\@NOSPAMtvreclames.nl>\n"; print SENDMAIL "To: \"".param('name')."\" <".param('email').">\n"; print SENDMAIL "Subject: Inloggegevens TVReclames.nl\n"; print SENDMAIL "Content-type: text/plain;\n\n"; print SENDMAIL "Test.\n"; close(SENDMAIL); for example: From: "TVReclames.nl" <registratie@NOSPAMtvreclames.nl> To: "Bart van den Burg" <bart@NOSPAMtvreclames.nl> Subject: Inloggegevens TVReclames.nl Content-tpe: text/plain Test So i get my mail as i should, however, the mail is coming from apache@NOSPAMtvreclames.nl, rather than registratie@NOSPAMtvreclames.nl :/ Can anyone tell me what i'm doing wrong here? Thx Bart |