• GoDaddy Community
  • VPS & Dedicated Servers
  • VPS & Dedicated Servers

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    Go to solution

    cpanel smtp mail client not working

    i create cpanel email to send email from  my website in godaddy vps server but it is not working

    the code is fine i tested it outside of godaddy and it worked

    please help find solution 

    5 REPLIES 5
    Super User III
    Super User III

    Re: cpanel smtp mail client not working

    @abdhadj 

     

    If you are trying to send to an email at the domain, make sure you have the Mail Settings set to Remote (assuming you are not hosting email on the server)

     

     



    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    Re: cpanel smtp mail client not working

    no, im not trying to send to an email at the domain

    and the email im sending from my cpanel in godaddy

     

     

    Super User III
    Super User III

    Re: cpanel smtp mail client not working

    @abdhadj 

     

    What I'm trying to understand is you said create cpanel email to send email from your website

     

    I may not have worded my original response well....

    For example... if your cPanel account is for domain.com and you are using a script (like a contact us form) to send an email

    1) are you trying to send the email to email@domain.com or email@somewhereelse.com

    2) if it is email@domain.com AND you have the email hosted on another service than the cPanel account - You need to make sure the mail settings are set to remote - otherwise it will look for the account on the local server

     

    3) Can you post a sample of your code so we can see what maybe causing the issue otherwise.



    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community

    Re: cpanel smtp mail client not working

    im sending email to the users of my website so im sending to gmail or whatever

    for my code im using codeigniter email library

    i tested on another host with other cpanel email and it worked

    im pretty sure it is not my code 

    Super User III
    Super User III
    Solution

    Re: cpanel smtp mail client not working

    GoDaddy uses a relay server that maybe part of the issue

     

    If you are on a VPS server it should be dedrelay.secureserver.net  

     

    This article talks about if you are on a cPanel server 

     

    https://www.godaddy.com/help/send-form-mail-using-an-smtp-relay-server-953

     

     



    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community