Jump to content

problem with testing php mail?


omi

Recommended Posts

hi,

 

I'm running a vbulletin board and my members are not recieving any emails from the board. I tried to do an email diagnosis and this error came up:

 

"The mailing function returned an error while trying to send the mail.

Check your mail server to ensure it is configured correctly to allow PHP to send mail from it. You should also check your mail server's error log for more diagnostic information."

 

I contacted my server support team and they advised me to upload a small test script for php mail to check. And they gave me a code that my script should include to try:

 

--------

<?

$mes="Php mail is working";

$to="any working email mail ID";

mail($to,"Working",$mes,"");

?>

------------

 

I'm actually not familiar with uploading or creating my own script

 

Does anyone know what I should do with this script, I don't even know where to upload it to. Help would be realy appreciated

 

All I want to know is how do I create this script, and what directory do I upload it to.

thanks for your time in reading this post

thakns

 

 

P.S: if this info is already included in the forum then sorry for waisting your time, I just could'nt find.

 

 

kind regards

omi

 

Link to comment
https://forums.phpfreaks.com/topic/39005-problem-with-testing-php-mail/
Share on other sites

thanks for your reply's

 

I've created the testmail.php file in my web root folder and put my email under 'to'.

 

I just don't understand what you mean by calling it to my web browser

 

do I type in the path www.mydomain.org/testmail.php

 

or do I type in something else

sorry I'm a beginer in this field.  :-[

 

and thanks again for your support ::)

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.