Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2008
    Posts
    55
    Plugin Contributions
    0

    Default eMail Problems - One easy solution found

    I cannot claim the credit for this, that rests entirely with 'Bosh' who found the solution over a year ago.

    November 2008. And people are still wandering about looking for solutions. like me.

    I LOVE this forum.

    So here it is.
    1. follow the steps. So easy it's ridiculous.

    Use phpinfo to find out if your version on your server is V.4 or V.5
    If it's 5 - then download the phpmailer 5/6 version
    If its 4 - then download the phpmailer 4 version

    The one included in the Zen distribution is ancient in any case.

    In short. The update to phpmailer for php is on the code base at this address: phpmailer.codeworxtech.com/index.php

    Download the phpmailer 5/6 and unpack into a temp directory.

    Follow the steps shown in the message extract below.

    Make sure you use ASCII to ftp files.

    Took me about 5 minutes, and jobs done.
    ...... and .... be careful if overwriting a live system.

    All credit to "Bosh" - thanks my friend you saved me HOURS.

    OK peeps,

    I''ll tell you I've found out so far and what I've done about it. I'm not saying
    the issue has gone away yet but now Nochex receives whats being sent, whatever
    that is because is complains with a wrong "email address" or "Merchant ID". But
    that should be fixable.

    Fistly, I examined the code /include/classes/class.phpmailer.php. The first thing
    that struck me was - it's old and it really shouldn't be sitting ontop of PHP 5.x.x.
    Your host is using PHP 5.x.x aren't they, perhaps you should move.

    Anyway I went here; phpmailer.codeworxtech.com/index.php
    and downloaded PHPMailer for PHP5/6 and unzipped/tar'd them into a tempory directory.

    Secondly, after doing a few eyeball checks (I'm not that cavalier), I did
    this ...
    1. replaced - /include/classes/class.phpmailer.php
    2. replaced - /include/classes/class.smtp.php
    3. added - /include/classes/class.pop3.php

    also in /include/classes/support/ I replaced all the language files provided
    in the download. Although I only needed the English one, I like to be consistant.

    Now, as I said, more testing is required on the PHP side before I'm satisfied and
    it's unlikely I'll be using SMPT so I won't be testing that. Perhaps someone
    else who requires SMPT would undertake that and provide some feedback for others
    who might want to use it

    As for myself, when I'm satisfied with my testing I'll tell you here whether
    its broken anywhere or that its all OK.

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: eMail Problems - One easy solution found

    Quote Originally Posted by rachalmers View Post
    I LOVE this forum.
    Me too. It is actually one of the reasons I chose zencart

    Quote Originally Posted by rachalmers View Post
    Make sure you use ASCII to ftp files.
    I'm not sure if this was boshs' advice, or yours (not that it really matters), but personally I would never ever use ASCII mode when ftping files.

    The reason being is that ASCII mode has a nasty habit of modifying the end of line characters (as well as not being binary 8bit safe). In other words, files transferred using this mode are subject to being modified during the transfer.

    It is far better to use binary mode for all transfers because this ensures that what ends up on the server is exactly the same as the original file, regardless of the type of file being FTP'd.

    ASCII mode is a carry over from the 30(?) year old teletype systems that couldn't handle binary files.

    Just something for the youngsters to keep in mind. :-)

    Cheers
    Rod

  3. #3
    Join Date
    Dec 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: eMail Problems - One easy solution found

    My email is sending for refer this site, out of stock, welcome user... but it appears not to be sending the contact us or from the admin>send email, although it indicates email is sent and no errors. The emails are never received. I tried the solution above with no success. Any ideas why it sends some email but not from the contact us or send email? I've tried every possible configuration in admin.

    zencart v1.38
    server is php v5.2.11
    hosting company is Justhost.com

    Thanks for any ideas

  4. #4
    Join Date
    May 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: eMail Problems - One easy solution found

    I did as your mothod!
    but use SMTP ,echo " SMTP Error: Data not accepted.
    Email Error: SMTP Error: Data not accepted.
    SMTP server error: The message was rejected because it contains prohibited virus or spam content
    "

    use php /sendmail -- receive nothing ,

    and click "contact us" on my site modelstorm.com

    echo"Invalid address: You must provide at least one recipient email address.
    Email Error: You must provide at least one recipient email address. "

    I don't know what's wrong did I do!

    can help me ,thanks !

 

 

Similar Threads

  1. v154 not recording customer orders. no solution found.
    By SperryKev in forum Managing Customers and Orders
    Replies: 4
    Last Post: 30 Dec 2015, 11:22 PM
  2. v153 found a solution to admin issue on linux install
    By durangod in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 7 Oct 2014, 07:42 PM
  3. EasyPopulate 1.2.5.4 upload problem - found a solution
    By chris21 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 5 Jan 2010, 02:37 AM

Posting Permissions

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