SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: PHP - Mailing

  1. #1
    SitePoint Member loganathan's Avatar
    Join Date
    Nov 2005
    Location
    Vellore-Chennai-TN
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question PHP - Mailing

    hi,

    i've written code to send email to the collection of email ids from the
    database. (i.e bulk mail, newsletter)... i'm allowing a person to send bulk
    mail to the collection of email ids. when i send email.. i just select email
    id and compose body message/text.. am sending the email ids. now the
    mail is not going for few people... due to inactive email ids, rejecting
    receiver SMTP...etc.,

    now my problem is web admin says ...we should not send bulk email
    using open relay. i like to know what is open relay, then how to send bulk
    email without open relay.
    ---
    Loganathan N, BOSCO ITS, Yellagi Hills, Chennai, India
    http://www.boscoits.com

  2. #2
    SitePoint Addict evertcollab's Avatar
    Join Date
    Apr 2006
    Posts
    241
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Open relay means that any person can connect to your SMTP server and send email to any other SMTP server.. this is a major tool for spammers to abuse other peoples insecure mailservers..

    This has nothing to do with PHP though.. If your admin set things up correctly you should have no worries about it.. To mass-send email, check out php's mail() function.

    Be sure to BCC everyone.. usually there's a limit on the number of BCC's you can include, so you might want to split it up in groups of 20 recipients and call the mail() function multiple times


Bookmarks

Posting Permissions

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