Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No Emails What-so-ever - Help!


Guest

Recommended Posts

I have done some test orders and no emails go out to anyone. Not the customer, not to the store owner (yes I have "extra email" turned on in Admin. I've tried this with PayPal IPN and by check/money order. Orders go through and show up in Admin, Money goes to account (if PayPal), but I don't even get a notification from PayPal for the customer or the owner. If I just make an account, No Email confirmation, but the account is made. The only emails I've received in my testing is through" Contact Us"...the store owner received and when I did a return (RMA contribution), the store owner received a notification of a product being returned, however, the customer did not.

 

I've checked checkout_process.php as I thought I had messed something up there, (seemed logical). I put a virgin checkout_process.php in catalog and bought something with a check/money order and also with PayPal. Same as above, everything goes through, but no emails.

 

When checkout_process.php didn't seem to be the culprit, I went back to Admin and checked everything again. Tried email as "sendmail" and as "smtp"...neither did the trick..checked typing of emails in "Configuration" all seemed, right. Checked, "Extra email", that was accurate

 

 

So what I need to know from one of you PHP Gurus is....What other files are controlling the issuance of emails for orders and new accounts? If I can pinpoint the file by putting a virgin file in its place and get it to actually send SOMEONE and email, then I know its a code problem in that file....

Oh by the way, if you are thinking that this is a junk mail filter problem, Checked that too, not the problem.

 

Any hellp would really be appreciated.

Teresa

Link to comment
Share on other sites

I have done some test orders and no emails go out to anyone. Not the customer, not to the store owner (yes I have "extra email" turned on in Admin. I've tried this with PayPal IPN and by check/money order. Orders go through and show up in Admin, Money goes to account (if PayPal), but I don't even get a notification from PayPal for the customer or the owner. If I just make an account, No Email confirmation, but the account is made. The only emails I've received in my testing is through" Contact Us"...the store owner received and when I did a return (RMA contribution), the store owner received a notification of a product being returned, however, the customer did not.

 

I've checked checkout_process.php as I thought I had messed something up there, (seemed logical). I put a virgin checkout_process.php in catalog and bought something with a check/money order and also with PayPal. Same as above, everything goes through, but no emails.

 

When checkout_process.php didn't seem to be the culprit, I went back to Admin and checked everything again. Tried email as "sendmail" and as "smtp"...neither did the trick..checked typing of emails in "Configuration" all seemed, right. Checked, "Extra email", that was accurate

So what I need to know from one of you PHP Gurus is....What other files are controlling the issuance of emails for orders and new accounts? If I can pinpoint the file by putting a virgin file in its place and get it to actually send SOMEONE and email, then I know its a code problem in that file....

Oh by the way, if you are thinking that this is a junk mail filter problem, Checked that too, not the problem.

 

Any hellp would really be appreciated.

Teresa

 

create a regular php form and just put it on your web site and see if it works.

there are several different methods to send email through a php script - perhaps your server or host is denying access to the mail method you are using.

 

put this in an html file :

<html><head></head>

<body>

<form name='registration' action="process.php" method='POST'>

<table cellpadding=5 cellspacing=5 border=0>

<tr><td>First name :</td>

<td><input type="text" name="fname"> </td></tr>

<tr><td>Last name :</td>

<td><input type="text" name="lname"> </td></tr>

</table></body></html>

 

then put this in a file called process.php :

<?php

$fname = htmlentities ($_POST['fname']);

$lname = htmlentities ($_POST['lname']);

 

$to = 'YOUR_EMAIL_ADDRESS.COM';

$subject = 'Testing php mail';

 

// message

$message = $fname.$lname;

 

$headers = 'MIME-Version: 1.0' . "\r\n";

$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";e.com' . "\r\n";

 

// Mail it

mail($to, $subject, $message, $headers);

 

?>

 

start with process of elimination.

 

you could also look at your error logs in your control panel to see if there are any clues.

 

david

Link to comment
Share on other sites

I have done some test orders and no emails go out to anyone. Not the customer, not to the store owner (yes I have "extra email" turned on in Admin. I've tried this with PayPal IPN and by check/money order. Orders go through and show up in Admin, Money goes to account (if PayPal), but I don't even get a notification from PayPal for the customer or the owner. If I just make an account, No Email confirmation, but the account is made. The only emails I've received in my testing is through" Contact Us"...the store owner received and when I did a return (RMA contribution), the store owner received a notification of a product being returned, however, the customer did not.

 

I've checked checkout_process.php as I thought I had messed something up there, (seemed logical). I put a virgin checkout_process.php in catalog and bought something with a check/money order and also with PayPal. Same as above, everything goes through, but no emails.

 

When checkout_process.php didn't seem to be the culprit, I went back to Admin and checked everything again. Tried email as "sendmail" and as "smtp"...neither did the trick..checked typing of emails in "Configuration" all seemed, right. Checked, "Extra email", that was accurate

So what I need to know from one of you PHP Gurus is....What other files are controlling the issuance of emails for orders and new accounts? If I can pinpoint the file by putting a virgin file in its place and get it to actually send SOMEONE and email, then I know its a code problem in that file....

Oh by the way, if you are thinking that this is a junk mail filter problem, Checked that too, not the problem.

 

Any hellp would really be appreciated.

Teresa

 

create a regular php form and just put it on your web site and see if it works.

there are several different methods to send email through a php script - perhaps your server or host is denying access to the mail method you are using.

 

put this in an html file :

<html><head></head>

<body>

<form name='registration' action="process.php" method='POST'>

<table cellpadding=5 cellspacing=5 border=0>

<tr><td>First name :</td>

<td><input type="text" name="fname"> </td></tr>

<tr><td>Last name :</td>

<td><input type="text" name="lname"> </td></tr>

</table></body></html>

 

then put this in a file called process.php :

<?php

$fname = htmlentities ($_POST['fname']);

$lname = htmlentities ($_POST['lname']);

 

$to = 'YOUR_EMAIL_ADDRESS.COM';

$subject = 'Testing php mail';

 

// message

$message = $fname.$lname;

 

$headers = 'MIME-Version: 1.0' . "\r\n";

$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";e.com' . "\r\n";

 

// Mail it

mail($to, $subject, $message, $headers);

 

?>

 

start with process of elimination.

 

you could also look at your error logs in your control panel to see if there are any clues.

 

david

Link to comment
Share on other sites

I have done some test orders and no emails go out to anyone. Not the customer, not to the store owner (yes I have "extra email" turned on in Admin. I've tried this with PayPal IPN and by check/money order. Orders go through and show up in Admin, Money goes to account (if PayPal), but I don't even get a notification from PayPal for the customer or the owner. If I just make an account, No Email confirmation, but the account is made. The only emails I've received in my testing is through" Contact Us"...the store owner received and when I did a return (RMA contribution), the store owner received a notification of a product being returned, however, the customer did not.

 

I've checked checkout_process.php as I thought I had messed something up there, (seemed logical). I put a virgin checkout_process.php in catalog and bought something with a check/money order and also with PayPal. Same as above, everything goes through, but no emails.

 

When checkout_process.php didn't seem to be the culprit, I went back to Admin and checked everything again. Tried email as "sendmail" and as "smtp"...neither did the trick..checked typing of emails in "Configuration" all seemed, right. Checked, "Extra email", that was accurate

So what I need to know from one of you PHP Gurus is....What other files are controlling the issuance of emails for orders and new accounts? If I can pinpoint the f

ile by putting a virgin file in its place and get it to actually send SOMEONE and email, then I know its a code problem in that file....

Oh by the way, if you are thinking that this is a junk mail filter problem, Checked that too, not the problem.

 

Any hellp would really be appreciated.

Teresa

 

create a regular php form and just put it on your web site and see if it works.

there are several different methods to send email through a php script - perhaps your server or host is denying access to the mail method you are using.

 

put this in an html file :

<html><head></head>
<body>
<form name='registration' action="process.php" method='POST'>
<table cellpadding=5 cellspacing=5 border=0>
<tr><td>First name :</td>
<td><input type="text" name="fname"> </td></tr>
<tr><td>Last name :</td>
<td><input type="text" name="lname"> </td></tr>
</table></body></html>

 

then put this in a file called process.php :

<?php
$fname = htmlentities ($_POST['fname']);
$lname = htmlentities ($_POST['lname']);

$to  = 'YOUR_EMAIL_ADDRESS.COM';
$subject = 'Testing php mail';

// message
$message = $fname.$lname;

$headers  = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";e.com' . "\r\n";

// Mail it
mail($to, $subject, $message, $headers);

?>

 

start with process of elimination.

 

you could also look at your error logs in your control panel to see if there are any clues.

 

david

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...