Yes, create an empty PHP page with the above code.
If the emails get delivered then your PHP installation is working. If not, check with your hosting company or if you are using your server check your php.ini config file.
If the emails get delivered then your PHP installation is working. If not, check with your hosting company or if you are using your server check your php.ini config file.
Our latest page: http://www.paginas.in
http://www.macClasificados.com - Encuentra tu Apple PC mas barato, sin intermediarios
Hello,
I have the Same Mail Issue, I was able to perform a PHP Mail Test using this code:
<?php
$to = "someone@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
I am able to Receive Mail just fine using this TEST PHP SCript.... So what could be wrong with my OpenCart Configuration?
I have the Same Mail Issue, I was able to perform a PHP Mail Test using this code:
<?php
$to = "someone@example.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
I am able to Receive Mail just fine using this TEST PHP SCript.... So what could be wrong with my OpenCart Configuration?
If you get the script two work, but email doesn't work from OC you might need to add the -f parameter under the mail settings.
->System->settings->yourwebstie->mail
Here, you should have the following:
Mail Protocol: Mail
Mail Parameters: -fyourstore@emailaddress.com
smtp Host: your mail hosting(e: mail.mywebsite.com)
smtp Username: username (orders@mywebsite.com)
smtp Port: port that your hosting company uses to deliver email (25 or 26 or etc...)
The rest is optional.
Very important, for some mail servers to work:
Mail Parameters most have the -f before the email address in order to work.
Now, if the PHP mail script that we discussed previously doesn't work, most likely is your PHP installation, be sure you have "sendmail" installed.
ZH
->System->settings->yourwebstie->mail
Here, you should have the following:
Mail Protocol: Mail
Mail Parameters: -fyourstore@emailaddress.com
smtp Host: your mail hosting(e: mail.mywebsite.com)
smtp Username: username (orders@mywebsite.com)
smtp Port: port that your hosting company uses to deliver email (25 or 26 or etc...)
The rest is optional.
Very important, for some mail servers to work:
Mail Parameters most have the -f before the email address in order to work.
Now, if the PHP mail script that we discussed previously doesn't work, most likely is your PHP installation, be sure you have "sendmail" installed.
ZH
Our latest page: http://www.paginas.in
http://www.macClasificados.com - Encuentra tu Apple PC mas barato, sin intermediarios
Ok i've followed instruction in this thread.
-Tried 2 dif script with success.
-I've used -f for perameter
-My host tried another script with success.
-Verifiey my email settings are correct in my host.
Tried various combinations of "Settings" and still no luck. What is going on?
A friend of mine is using the same setting as me and theirs works.
Please help!
Here is my screenshot...
-Tried 2 dif script with success.
-I've used -f for perameter
-My host tried another script with success.
-Verifiey my email settings are correct in my host.
Tried various combinations of "Settings" and still no luck. What is going on?
A friend of mine is using the same setting as me and theirs works.
Please help!
Here is my screenshot...
Attachments
Screen Shot 2012-07-18 at 1.27.54 PM.png (56.05 KiB) Viewed 3986 times
Ok,
And under Mail Parameters you should have: -finfo@reflect911.com
and probably for SMTP Host: mail.reflect911.com
Is that correct?
If that is correct, then let me ask you something:
When you tried the script, you know either the sender or the recipient of the email must be associated with your domain hosting account, in this case: info@reflect911.com. Right?
My question is: are you sure the script works when the sender is info@911reflect.com? many times people tries the script only for the recipient side, and the issue most of the times is the PHP configuration not sending emails, this could be your case.
Do the test with the script for both cases, one set the recipient as info@911reflect.com, if it works then try setting the sender as info@911reflect.com, if it works let us know and we will keep troubleshooting.
ZH
And under Mail Parameters you should have: -finfo@reflect911.com
and probably for SMTP Host: mail.reflect911.com
Is that correct?
If that is correct, then let me ask you something:
When you tried the script, you know either the sender or the recipient of the email must be associated with your domain hosting account, in this case: info@reflect911.com. Right?
My question is: are you sure the script works when the sender is info@911reflect.com? many times people tries the script only for the recipient side, and the issue most of the times is the PHP configuration not sending emails, this could be your case.
Do the test with the script for both cases, one set the recipient as info@911reflect.com, if it works then try setting the sender as info@911reflect.com, if it works let us know and we will keep troubleshooting.
ZH
Our latest page: http://www.paginas.in
http://www.macClasificados.com - Encuentra tu Apple PC mas barato, sin intermediarios
Try first info@... as recepient, see if that works then try info@... as sender, let us know if both works.
zh
zh
Our latest page: http://www.paginas.in
http://www.macClasificados.com - Encuentra tu Apple PC mas barato, sin intermediarios
well, leave down your links and I will take a quick look. Also, what's in your admin panel -> system -> settings ->edit store -> "Store Name:" and "Store OWner" fields?
"leave down your links"? The link to my store?
http://reflect911.com/shop
Store Name: Reflect 9/11
Store Owner: Reflect Crew
http://reflect911.com/shop
Store Name: Reflect 9/11
Store Owner: Reflect Crew
You have to remove the slash from the store name. Then try sending a mail. See if it works.
All files are at default?
That's interesting. You can PM me your details and maybe I can take a look for you.
maybe this will help. After spending 2 hours of looking for the solution I found that trick (i have 1.5.3.1 ver) http://code.google.com/p/opencart/issues/detail?id=964
and that solved the problem
and that solved the problem
I was so hopeful this would work.. but no!arek wrote:maybe this will help. After spending 2 hours of looking for the solution I found that trick (i have 1.5.3.1 ver) http://code.google.com/p/opencart/issues/detail?id=964
and that solved the problem
I'm running Version 1.5.4 and no messages will send at all to anyone. But I did a php mail test and that worked. Must be something wrong with OpenCart? Please help me someone!
If I forgot to mention: it's OpenCart Vv1.5.6
Who is online
Users browsing this forum: No registered users and 397 guests