PHP Newsletter Client

Discussion in 'PHP' started by Star-Vision, Nov 25, 2007.

  1. #1
    Haaij Everybody, I'm new on this forum. A friend of mine suggested this to me and I hope somebody can help me over here.

    I installed a Php Newsletter Client on our Hosting. We have almost 60.000 Mailrecipients, But 90% of our mailrecipients receive the mails in SPAM.

    I want to ask if there's something to avoid the spamfilter.

    Because there's a site named yourmailinglistprovider.com. If you send the mails through their system 95% receives it in their INBOX, but it costs almost 60€ for 20.000 mails. that would be 180€ for 60.000 mails. We do this quiete often cause we're an upstarting eventcompany.

    thx in advance.
     
    Star-Vision, Nov 25, 2007 IP
  2. danzor

    danzor Peon

    Messages:
    208
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you have one of the example emails? Post the headers of the mail.
     
    danzor, Nov 25, 2007 IP
  3. Nerve

    Nerve Peon

    Messages:
    467
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hello, welcome to the forums!

    I am having the same problem, but here is what I think the solution is.

    It will most likely be because of your headers (or your domain is blacklisted). Try these headers:
    
    $from .= "From: $someemail\n";
    $from .= "X-Sender: $someemail\n";
    $from .= "X-Mailer: PHP\n";
    $from .= "X-Priority: 3\n";
    $from .= "Return-Path: $someemail\n";
    $from .= "Reply-To: $siteemail\n";
    mail($to,$subject,$message,$from);
    
    Code (markup):
    Also,
    Don't make the subject the same for every email. I am going to use: Hello {NAME} blah blah

    Dont use the same return mail.

    Also, take a look here:
    http://www.openspf.org/
     
    Nerve, Nov 25, 2007 IP
  4. EntertainmentScripts

    EntertainmentScripts Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes, please post an example of the email headers which are sent. The system should have an option for you to set the email which is used to send out the emails. Make sure this email is valid. Also, it should not be a Yahoo, Hotmail or GMail email etc because email programs usually send these to the junk folders. As Nerve said, make sure this email has not been blacklisted either.
     
    EntertainmentScripts, Nov 25, 2007 IP
  5. Star-Vision

    Star-Vision Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    haaij,

    we do not use always the same headers, they're always different.
    ex.

    This Friday FAMOUS Private @ Culture Club ... Be There!

    By header, do you mean subject of the mail of something else ?
     
    Star-Vision, Nov 25, 2007 IP
  6. EntertainmentScripts

    EntertainmentScripts Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Not the subject, the actual mail headers (Like the ones posted by Nerve).
     
    EntertainmentScripts, Nov 25, 2007 IP
  7. danzor

    danzor Peon

    Messages:
    208
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #7
    The email headers

    e.g.

     
    danzor, Nov 25, 2007 IP
  8. Star-Vision

    Star-Vision Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanx for the help.

    - We use an emailadress that is not blacklisted and it is not a free emailadres. it's one like this.

    newsletter@famousprivate.be
    newsletter@modelsandbottles.be
    newsletter@star-vision.eu

    - One of these days I'll send a newsletter for the upcoming month. I will apply the codes you gave me. we shall see if it works.

    Thanx already ;)

    I'll post back if it works or not

    grtz.
    Star-Vision
     
    Star-Vision, Nov 25, 2007 IP