1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

smtp g m a il problem

Discussion in 'PHP & Perl' started by seoweb, Apr 11, 2013.

  1. seoweb

    seoweb Registered Member

    Joined:
    Jan 20, 2009
    Messages:
    56
    Likes Received:
    2
    Location:
    Romania (at the end of world...)
    hello,

    i have a hosting account with webhostingpad and they: "We have made a recent change on email server to secure the email server which requires customers to enable SMTP Authentication in order to send mail "

    until now i used PHPMailer class to send email trough g m a il but not it does't work anymore..

    i asked for support from the hosting company and they said:

    "We have made a recent change on email server to secure the email server which requires customers to enable SMTP Authentication in order to send mail from email programs installed on your computer such as Outlook®, Outlook® Express, and Eudora®."


    "You need to use SMTP authentication to use our SMTP."

    nothisng that helps...


    i tested the smtp:
    fsockopen("smtp.gmail.com", 465, &$errno, &$errstr, 10);

    and this is what i get: "smtp.gmail.com 465 - Network is unreachable (101)"...

    i asked if the port is open and they said is open...

    please give any ideas you may have... (i already tried all the google results...)

    Thank you!
     
  2. jazzc

    jazzc Moderator Staff Member Moderator Jr. VIP

    Joined:
    Jan 27, 2009
    Messages:
    2,468
    Likes Received:
    10,148
    Why are you using gmail 's smtp on the one hand and ask about your hosting provider's smtp on the other?
     
  3. innozemec

    innozemec Jr. VIP Jr. VIP

    Joined:
    Aug 19, 2011
    Messages:
    5,290
    Likes Received:
    1,799
    Location:
    www.Indexification.com
    Home Page:
    that error "smtp.gmail.com 465 - Network is unreachable (101)"

    means your server can't connect to there at that port.

    So, simply pass that to your host support again and insist that they look why your server can't connect to there

    some hosts are really pain to deal with
     
  4. seoweb

    seoweb Registered Member

    Joined:
    Jan 20, 2009
    Messages:
    56
    Likes Received:
    2
    Location:
    Romania (at the end of world...)
    jazzc - i'm using the g mail fro a better inbox rating and i am asking them to solve the issue because they created it(the scripts works great on my local machine and it worked on their servers until their last update on server config...

    innozemec - yeap, really a big pain in the... they said they can't help because the script is not created by them :))...

    any sugesstions for a smal "cold mail" campaign (maximum 1000 email per month...)

    Thank you!
     
  5. innozemec

    innozemec Jr. VIP Jr. VIP

    Joined:
    Aug 19, 2011
    Messages:
    5,290
    Likes Received:
    1,799
    Location:
    www.Indexification.com
    Home Page:
    it has nothing to do with the script, but with the server setup

    do it by yourself or ask them to do: on ssh, type "telnet smtp.gmail.com 465" if it doesn't get connected then it is server/firewall issue
     
    • Thanks Thanks x 1
  6. seoweb

    seoweb Registered Member

    Joined:
    Jan 20, 2009
    Messages:
    56
    Likes Received:
    2
    Location:
    Romania (at the end of world...)
    thanks for helping...

    it seams that i need to stick with their smtp...

    any ideas/ tips for 500 -700 emails per month?

    how do i get them to inbox...?:D

    thanks!
     
  7. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,063
    Likes Received:
    2,872
    Gender:
    Male
    Man don't use gmail unless you really have to. I had to setup gmail for a number of clients using PHPMailer and believe me, I had to configure them with new ports every-time I had to do it. Sometime it works and sometime it doesn't. So, use your Server provider's SMTP for better result.
     
    • Thanks Thanks x 1
  8. seoweb

    seoweb Registered Member

    Joined:
    Jan 20, 2009
    Messages:
    56
    Likes Received:
    2
    Location:
    Romania (at the end of world...)
    thank you!
     
    • Thanks Thanks x 1