Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    liquidwebco is offline Junior Member
    Join Date
    Jan 2009
    Posts
    1

    Default MyHosting Cubecart Mail() SMTP auto email not working

    Regarding CUBECART built-in mail function. This has been an issue for YEARS...

    I found the solution to the issue and appearantly it is only with myhosting.com servers. So if someone has an account with myhosting, they will NOT be able to use their mail() function or smtp function to send mail through myhosting.com's servers. I will attach the smtp file (fix) I am using with one line of minor modification for anyone else who may run into this problem who is using myhosting.com services. This is a fix for v3 and v4.

    Basically, you can only use mail option SMTP with myhosting.com with this edited version of the SMTP file included. The basic installation smtp file will NOT WORK- It must be modified for the automatic mail function to work. You must use smtp mail setting under general settings, select "yes" user requires authentication and put in the credentials for admin@whateverdomain.com

    I had a lot of trouble with this and previous versions... I hope this can help other people who run into a similar situation.

    Solution Replace the file under WebRoot\classes\smpt.php for Version 3
    Webroot\classes\htmlMimeMail\smtp.php Version 4
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    tima is offline Administrator
    Join Date
    Apr 2008
    Posts
    191

    Default Re: MyHosting Cubecart Mail() SMTP auto email not working

    Thanks for sharing liquidwebco!
    Tim Attwood
    Product Manager
    myhosting.com

  3. #3
    rickjanusz is offline Junior Member
    Join Date
    Apr 2009
    Posts
    4

    Default Re: MyHosting Cubecart Mail() SMTP auto email not working

    the smtp.php file is corrupt and throws a fatal error on the server, anyone have a good version of the fixed smtp.php file, ppppleassse

  4. #4
    rickjanusz is offline Junior Member
    Join Date
    Apr 2009
    Posts
    4

    Default Re: MyHosting Cubecart Mail() SMTP auto email not working

    I figured it out! For those of you receiving file.php (I'm on a mac) download linked file as smtp.zip then unzip it. I was getting file.php, change it to smtp.zip before downloading it, then all will go as planned! :lol:

  5. #5
    rickjanusz is offline Junior Member
    Join Date
    Apr 2009
    Posts
    4

    Default Re: MyHosting Cubecart Mail() SMTP auto email not working

    and now my email in CC WORKS!!!!! YAY!!!!!

  6. #6
    rickjanusz is offline Junior Member
    Join Date
    Apr 2009
    Posts
    4

    Default Re: MyHosting Cubecart Mail() SMTP auto email not working

    I have forwarded this problem and fix to CubeCart. They are fixing this issue in the next release!

  7. #7
    rickeybojey is offline Junior Member
    Join Date
    Jun 2009
    Posts
    3

    Default

    Thanks for the information. It was able to learn something effective and I hope you could me and others with other future script problems. Thanks again!

  8. #8
    adamnsmith is offline Junior Member
    Join Date
    Jul 2009
    Posts
    2

    Default

    Quote Originally Posted by liquidwebco View Post
    Regarding CUBECART built-in mail function. This has been an issue for YEARS...

    I found the solution to the issue and appearantly it is only with myhosting.com servers. So if someone has an account with myhosting, they will NOT be able to use their mail() function or smtp function to send mail through myhosting.com's servers. I will attach the smtp file (fix) I am using with one line of minor modification for anyone else who may run into this problem who is using myhosting.com services. This is a fix for v3 and v4.

    Basically, you can only use mail option SMTP with myhosting.com with this edited version of the SMTP file included. The basic installation smtp file will NOT WORK- It must be modified for the automatic mail function to work. You must use smtp mail setting under general settings, select "yes" user requires authentication and put in the credentials for admin@whateverdomain.com

    I had a lot of trouble with this and previous versions... I hope this can help other people who run into a similar situation.

    Solution Replace the file under WebRoot\classes\smpt.php for Version 3
    Webroot\classes\htmlMimeMail\smtp.php Version 4

    Call me confused... But I don't know where to download the file you are referring to. Where is it downloadable from?

  9. #9
    tima is offline Administrator
    Join Date
    Apr 2008
    Posts
    191

    Default smtp.php file

    I've attached the original file from this post, in case anyone is looking for it. You'll need to change the filename from smtp.txt to smtp.php.
    Attached Files Attached Files
    Tim Attwood
    Product Manager
    myhosting.com

  10. #10
    tima is offline Administrator
    Join Date
    Apr 2008
    Posts
    191

    Default updated smtp.php

    We did some more investigation and found that it works much better with the following line removed:

    Code:
    if (!defined('CC_INI_SET')) die("Access Denied");
    Attached is the most up-to-date version.
    Attached Files Attached Files
    Tim Attwood
    Product Manager
    myhosting.com


 

Similar Threads

  1. Mediawiki email - not working
    By madmodder in forum Troubleshooting
    Replies: 4
    Last Post: 2011-06-10, 07:55 AM
  2. Replies: 0
    Last Post: 2009-03-02, 02:59 PM
  3. Setting up myhosting mail on iPhone?
    By bobbybrown in forum Beginners
    Replies: 1
    Last Post: 2008-08-07, 03:49 AM
  4. Testing SMTP Port? How can I make sure that it is open...
    By konna2008 in forum Troubleshooting
    Replies: 3
    Last Post: 2008-07-04, 12:13 PM

Posting Permissions

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