SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: mail list

  1. #1
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    323
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    mail list

    please i am trying to send email to two recipient, one is in the database and the other is not i have tried this two syntax but they re not working
    $to = "$email,another@stack.com";
    and
    $to = $email, "another@stack.com";

  2. #2
    SitePoint Addict
    Join Date
    Oct 2010
    Posts
    323
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    i have resorted using the blind carbon copy

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2008
    Location
    The Netherlands
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    $to = $email.",another@stack.com";

  4. #4
    SitePoint Addict tom8's Avatar
    Join Date
    Mar 2012
    Location
    New Jersey
    Posts
    310
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It is important that there is a comma (,) for separation as RvanD85 posted. Also check to make sure $email contains a valid email.


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
  •