
ultimategamer2k
User
Mar 12, 2001, 2:54 PM
Post #1 of 2
(470 views)
|
simple mail script... why doenst it work??
|
Can't Post
|
|
heres my script, why doesnt it work??? (its not mailing) if ($addMail =~/[A-Za-z]+@+[A-Za-z]+.+[A-Za-z]/){ open(SENDMAIL,"|$mail -t") or die "can't access mail: $!"; print SENDMAIL "To:$addMail\n"; print SENDMAIL "From:noreply\@ultimategamer.cjb.net\n"; print SENDMAIL "Subject:subscription to ultimategamers mailing list\n\n"; print SENDMAIL "Body:please copy this link to your browser window, and press enter, and you will be added to the list\n http://ultimategamers.gamersfuture.com/cgi-bin/maillist.pl?action=accepted&mail=$addMail\n if this message was sent to you by mistake, we apologise\n"; close SENDMAIL; print "Check your email, there should be one from us, and follow these simple steps\n"; print "1. Copy, and paste the url in the email into your browser window\n"; print "2. Thats it!"; } visit my web site at http://ultimategamer.cjb.net
|