Community Discussions and Support
PHP SMTP SERVER HELP?

Did you install the most recent version of Mercury? Did you read the Mercury help and/or manual on how to set up the system (especially local domains)? Do please not rely on any xampp documentation for this.

/Rolf

<p>Did you install the most recent version of Mercury? Did you read the Mercury help and/or manual on how to set up the system (especially local domains)? Do please not rely on any xampp documentation for this.</p> <p>/Rolf </p>

Hello, I am currently learning PHP and trying to send eMails.

Before I had a SMTP server I got a error: 

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\index.php on line 16 

 

so on ##php they say i need a smtp server, and i go get pmail.

 

Now I still get the error, can someone help me set it up?

 

Thanks 

<p>Hello, I am currently learning PHP and trying to send eMails.</p><p>Before I had a SMTP server I got a error: </p><p><span class="Apple-style-span" style="font-family: 'times new roman'; font-size: 16px; "><b>Warning</b>: mail() [<a href="http://localhost/function.mail">function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in <b>C:\xampp\htdocs\index.php</b> on line <b>16<span class="Apple-style-span" style="font-family: Arial; font-size: 13px; font-weight: normal; "> </span></b></span></p><p> </p><p>so on ##php they say i need a smtp server, and i go get pmail.</p><p> </p><p>Now I still get the error, can someone help me set it up?</p><p> </p><p>Thanks </p>

so on ##php they say i need a smtp server, and i go get PMail.

You do not need PMail you need Mercury and that comes with XAMPP.  Did you turn it on and configure it via the admin?  The SMTP Server is MercuryS and Mercury Configuration | Mercury core | Domains must also be configured.

 

<blockquote>so on ##php they say i need a smtp server, and i go get PMail.</blockquote><p>You do not need PMail you need Mercury and that comes with XAMPP.  Did you turn it on and configure it via the admin?  The SMTP Server is MercuryS and Mercury Configuration | Mercury core | Domains must also be configured. </p><p> </p>

i've activated it.

 


Warning: mail() [function.mail]: SMTP server response: 553 We do not relay non-local mail, sorry. in C:\xampp\htdocs\index.php on line 16

 

how do i setup mail?

  

even in configuration i dont know what i need to do 

<p>i've activated it.</p><p> </p><span class="Apple-style-span" style="font-family: 'times new roman'; font-size: 16px; "> </span><p><span class="Apple-style-span" style="font-family: 'times new roman'; font-size: 16px; "><b>Warning</b>: mail() [<a mce_href="http://localhost/function.mail" href="http://localhost/function.mail">function.mail</a>]: SMTP server response: 553 We do not relay non-local mail, sorry. in <b>C:\xampp\htdocs\index.php</b> on line <b>16</b></span></p><p> </p><p>how do i setup mail?</p><p>  </p><p>even in configuration i dont know what i need to do </p>

You need to enter some reasonable data in Core configuration, Local domains. Read the help text carefully. If it isn't the most recent version of Mercury (4.62) you should update.

/Rolf 

<p>You need to enter some reasonable data in Core configuration, Local domains. Read the help text carefully. If it isn't the most recent version of Mercury (4.62) you should <a href="/files/folders/10072/download.aspx" mce_href="/files/folders/10072/download.aspx">update</a>.</p><p>/Rolf </p>

i watched a tut of how to set it up but it still doesnt work

 

i did all the stuff in config then setup a smtp in thunderbird

 

..still not working.. 

<p>i watched a tut of how to set it up but it still doesnt work</p><p> </p><p>i did all the stuff in config then setup a smtp in thunderbird</p><p> </p><p>..still not working.. </p>
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