Webhosting doesn't help - Emails go to Junk / Spam when sent via PHP Script

Discussion in 'Web Hosting' started by merlinseo, Sep 3, 2010.

  1. #1
    Hi Friends,
    Looking forward for help from you all

    I am running a custom PHP script, This script sends email to people when they register
    And also daily some cronjob is run and a email is sent to people based on their subscription.

    Well at the moment , i haven't gone live , I am just trying out trials and tests on my webhosting.

    Surprisingly all the emails to yahoo and hotmail sent by my PHP script goes to SPAM or JUNK folders .

    Is there any way to get rid out of it
    My hosting is saying its problem with hotmail and yahoo's whitelisting
    My hosting is is using Opentransfer for sending receiving emails
    Can anyone please help me , what can i do ?

    Or please suggest any clean hosting provider where the emails are sent clean without any spam issues

    Thanks a lot in advance
     
    merlinseo, Sep 3, 2010 IP
  2. mentos

    mentos Prominent Member

    Messages:
    15,280
    Likes Received:
    473
    Best Answers:
    0
    Trophy Points:
    330
    #2
    Its common.

    Maybe due to your hosting provider IP is been blacklisted.

    You need to buy new clean dedicated IP.


     
    mentos, Sep 4, 2010 IP
  3. merlinseo

    merlinseo Well-Known Member

    Messages:
    1,686
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Thanks mentos
    I guess hosting is blacklisted and having issue

    But my website is have a dedicated IP with SSL
    and this IP is provided by my host itself , its a shared hosting with dedicated IP

    If i buy IP from someone else, How can i use it with my host, will they allow

    Can you please suggest any HOST where its know reputation and email works fine
    Anyone can suggest
     
    merlinseo, Sep 4, 2010 IP
  4. RonBrown

    RonBrown Well-Known Member

    Messages:
    934
    Likes Received:
    55
    Best Answers:
    4
    Trophy Points:
    105
    #4
    Your problem isn't your hosting provider and probably isn't a blacklisted IP, it's the way you're sending emails. Using the SMTP service on a web server should NEVER be used to send emails. It's convenient, and easy to script, but it still shouldn't be used.

    Why? Because the SMTP service on a web server won't be set-up as a proper email server - it won't accept incoming emails and (most importantly from an anti-spam perspective) it won't have a rDNS set up for it. Most spam filters will reject/filter-out, or give a high spam score, to an email arriving from an IP where there is no rDNS (or PTR) record, and many will now also reject the email outright if the sending IP will not accept incoming email sent to the "from" or "reply to" address. It's the way of the world, with anti-spam systems becoming more strict, and you need to work with them by only sending emails from a properly configured email account on an email server.
     
    RonBrown, Sep 4, 2010 IP
  5. TheWiseGuy

    TheWiseGuy Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #5
    you should check why those email that go in the junk folders are actually considered spam
    you'll probably need to ask your hosting provider to properly set the rdns record on your server ( not sure how this works on shared hosting plans )

    how are you sending mails? via sendmail, using some script, with an smtp class or what?

    analyze the messages classifieds as spam, check the full headers of the message, it should help you troubleshoot the problm
     
    TheWiseGuy, Sep 4, 2010 IP
  6. YoGem

    YoGem Active Member

    Messages:
    676
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    90
    #6
    Also if the IP is blacklisted, also if sent via sendmail using PHP if on cPanel (or other control panel) you activate SPF and DomainKey you will be able to send successfully your emails.

    P.s.: You can buy a new ded IP but the smtp server will continue to reside in the banned IP address. If you are talking about shared webhosting, a dedicated IP doesn't mean that you are allowed to run a personal smtp server.
     
    YoGem, Sep 5, 2010 IP
  7. merlinseo

    merlinseo Well-Known Member

    Messages:
    1,686
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    130
    #7
    Thanks all , I will try your suggestions
     
    merlinseo, Sep 10, 2010 IP
  8. merlinseo

    merlinseo Well-Known Member

    Messages:
    1,686
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    130
    #8
    Atleast now yahoo and gmail is fixed
    Only hotmail is stuck
     
    merlinseo, Sep 12, 2010 IP