osCmax v2.5 User Manual
Results 1 to 5 of 5

Problem receiving email notifications of orders

This is a discussion on Problem receiving email notifications of orders within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Ok, I have a client using oscmax v2 and she has transferred all of her customers over manually from her ...

      
  1. #1
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default Problem receiving email notifications of orders

    Ok, I have a client using oscmax v2 and she has transferred all of her customers over manually from her previous ecommerce store. Now, when I place a test order (I was not transferred- I created my own account through her store front), using either paypal or money order which are her two methods of receiving payments, she and I both get notification of that order. However, none of the other customers are getting any of the notifications nor is she, just confirmation through paypal. Is it because she transferred them over using the add customer option in admin or is there something we are doing wrong?

    ***Edit---the orders ARE showing up in admin. She is just not getting notifications nor are the customers.

  2. #2
    Member Cisco's Avatar
    Join Date
    Feb 2003
    Posts
    89
    Rep Power
    0


    Default RE: Problem receiving email notifications of orders

    Please post the site url:

    Alert client that there will be some test orders and check comments on the orders.

    Has there been any modifications since this issue started to occur?

    Did you try to re do the upload to see if a file was corrupt?

    Did you heck the customer file up load to see if they are the same?

    Did you check to see if the customers emails are uploaded or if the file name is exactly the same?

  3. #3
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default RE: Problem receiving email notifications of orders

    Thanks for the offer, I searched the messages here and on oscommerce and found that we needed to include the redirect back to the website because customers werent doing that at paypal. So it is working properly now.

  4. #4
    Active Member
    Join Date
    May 2003
    Posts
    137
    Rep Power
    0


    Default RE: Problem receiving email notifications of orders

    ****Update, she has emailed me telling me that she hasnt received the last three orders where one went through paypal and she was notified of it via paypal . Anything else we can check?
    She has the redirect in place at paypal, we have her emails set up in the admin area properly as well.

  5. #5
    New Member
    Join Date
    Feb 2007
    Location
    Edinurgh
    Posts
    20
    Rep Power
    0


    Default Re: Problem receiving email notifications of orders

    A lot of people post this question. Basically it can be down to a lot of things. If your server uses sendmail it could be due to a mis-configuration, file permissions on the mail queue or any number of spam prevension techniques.

    Here is a solution that allways works (Windows, Mac or Linux)

    Install phpMailer - can be done via pear then use it instead of the built in mail class. Simply insert it into the definition of the mail function in includes/functions/general.php

    Here is what mine looks like and I have never had a single email that did not get sent since:

    PHP Code:
     function tep_mail($to_name$to_email_address$email_subject
    $email_text$from_email_name$from_email_address$to_address
    {
        if (
    SEND_EMAILS != 'true') return false;
     
    require(
    "phpMailer/class.phpmailer.php");
     
    $data strip_tags($email_text);
    $data1 str_replace('<br><br>','\r\n',$data);
     
    $mail = new PHPMailer();
    $mail->IsSMTP();                                      // set mailer to use SMTP
    $mail->Host "<your host>";  // specify main and backup server
    $mail->SMTPAuth true;     // turn on SMTP authentication
    $mail->Username "<user>";  // SMTP username
    $mail->Password "<pass>"// SMTP password
    $mail->From "$from_email_address";
    $mail->FromName "$from_email_name";
    $mail->AddAddress($to_email_address);
    $mail->WordWrap 50;                                 // set word wrap to 50 characters
     
    /*$mail->AddAttachment("/var/tmp/file.tar.gz");         // add attachments
    $mail->AddAttachment("/tmp/image.jpg", "new.jpg");    // optional name
    */
     
    $mail->IsHTML(true);                                  // set email format to HTML
    $mail->Subject "$email_subject";
    $mail->Body    "$data"// html format
    $mail->AltBody "$data1"// plain text for old email clients
    if(!$mail->Send())
    {
       echo 
    "Message could not be sent. <p>";
       echo 
    "Mailer Error: " $mail->ErrorInfo;
       exit;
    }
     


Similar Threads

  1. Email confirmation of new orders is unreadable.
    By jptechnical in forum osCommerce 2.2 Discussion
    Replies: 2
    Last Post: 12-20-2006, 05:13 PM
  2. need to add timeslots for delivery in orders email
    By chuan in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 10-16-2006, 06:33 PM
  3. Email notifications not received anymore
    By ozstar in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 10-13-2006, 04:16 AM
  4. Getting email (SMTP) notifications working??
    By oling in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 08-11-2006, 12:46 PM
  5. Problems in email orders
    By maxi032 in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 11-15-2003, 03:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •