Community Discussions and Support
does not send mail but it says it did

it says msg send but when i check my email at bad_eed@hotmail.com nothing

Your PHP application probably sends to MercuryS  but to enable the mail to be sent to the outside you also must setup MercuryC to point at a external relay host to actually send the mail.  You probably can't send via MercuryE unless you have a real domain and a fixed IP address.

 

<blockquote>it says msg send but when i check my email at <a href="mailto:bad_eed@hotmail.com">bad_eed@hotmail.com</a> nothing</blockquote><p>Your PHP application probably sends to MercuryS  but to enable the mail to be sent to the outside you also must setup MercuryC to point at a external relay host to actually send the mail.  You probably can't send via MercuryE unless you have a real domain and a fixed IP address.</p><p> </p>

Mercury does not send mail

i have php code that sends a email to a email with password like a recovry

 

i dont get any error in the php it says messge send but it think it is mercy it dont send mail to hotmail


$welcome_mail="Welcome to our Server:<br><br>"; //Text shown in the registration email
$servername="Dark-E"; //Name of the Server(is shown with the address in the email)
$adminmail="postmaster@localhost"; //The email adress of the server
$subject="Registration Email"; // Subject of the registration Email
$subject_pw="Password Recovery"; //Subject of the password recovery email.

 

//This procedure sends the registration email to the players.
function do_email($email, $content, $servername, $adminmail, $subject){
  $extra = "From: ".$servername." <".$adminmail.">\n";
  $extra .= "Content-Type: text/html\n";
  mail($email, $subject, $content,$extra);
}

 

 

it says msg send but when i check my email at nothing

i am kinda noob

maybe i didnt set up the Mercury

is there a guide?

&lt;p&gt;&lt;font color=&quot;#333333&quot;&gt;Mercury does not send mail &lt;/font&gt;&lt;/p&gt; &lt;p&gt;i have php code that sends a email to a email with password like a recovry&lt;/p&gt; &lt;p mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;i dont get any error in the php it says messge send but it think it is mercy it dont send mail to hotmail&lt;/p&gt; &lt;p&gt; $welcome_mail=&quot;Welcome to our Server: &quot;; //Text shown in the registration email $servername=&quot;Dark-E&quot;; //Name of the Server(is shown with the address in the email) $adminmail=&quot;&lt;a href=&quot;mailto:postmaster@localhost&quot; mce_href=&quot;mailto:postmaster@localhost&quot;&gt;postmaster@localhost&lt;/a&gt;&quot;; //The email adress of the server $subject=&quot;Registration Email&quot;; // Subject of the registration Email $subject_pw=&quot;Password Recovery&quot;; //Subject of the password recovery email. &lt;/p&gt; &lt;p mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;//This procedure sends the registration email to the players. function do_email($email, $content, $servername, $adminmail, $subject){ &amp;nbsp; $extra = &quot;From: &quot;.$servername.&quot; &amp;lt;&quot;.$adminmail.&quot;&amp;gt;\n&quot;; &amp;nbsp; $extra .= &quot;Content-Type: text/html\n&quot;; &amp;nbsp; mail($email, $subject, $content,$extra); }&lt;/p&gt; &lt;p mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/p&gt; &lt;p mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;it says msg send but when i check my email at nothing&lt;/p&gt; &lt;p&gt;i am kinda noob &lt;/p&gt; &lt;p&gt;maybe i didnt set up the&amp;nbsp;&lt;u&gt;&lt;font color=&quot;#0000ff&quot;&gt;Mercury&lt;/font&gt;&lt;/u&gt;&lt;/p&gt; &lt;p&gt;&lt;u&gt;&lt;font color=&quot;#0000ff&quot;&gt;is there a guide?&lt;/font&gt;&lt;/u&gt; &lt;/p&gt;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft