Jump to content

myusualsnwastaken

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

myusualsnwastaken's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Is it possible for a server to block outgoing mail from the mailer function? This code doesnt do anything (but it prints unsuccessful), and ive tried it on two different servers. Thx [code=php:0]<?PHP $subject="Mail TEST"; $to="tigeradvance2000@yahoo.com"; $body = "tagman has just sent you an email"; $header = 'From: tagadvance@gmail.com' $mailer = mail($to, $subject, $body, $header); if(!$mailer) { echo "There was a problem sending the mail. Check your code."; } else { echo "Email Sent"; } $mailer = var_dump(mail($to, $subject, $body, $header)); if(!$mailer) { echo "There was a problem sending the mail. Check your code."; } else { echo "Email Sent"; } ?>[/code] And a link to actualfile/phpinfo: [url=http://tagman.phpnet.us/mail.php]tagman.phpnet.us/mail.php[/url] [url=http://tagman.phpnet.us/phpinfo.php]tagman.phpnet.us/phpinfo.php[/url] It outputs: [code]bool(true) There was a problem sending the mail. Check your code and make sure that the e-mail address tagadvanceatgmaildotcom is valid[/code]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.