Poll: Do you like this?

Be advised that this is a public poll: other users can see the choice(s) you selected.

[PHP] Monsta. - E-Mail

Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
  1. #16
    Account Upgraded | Title Enabled! Intelext is offline
    MemberRank
    Mar 2007 Join Date
    EuropeLocation
    1,228Posts

    Re: [PHP] Monsta. - E-Mail

    Yea I saw.

  2. #17
    Valued Member medz03 is offline
    MemberRank
    Dec 2007 Join Date
    United KingdomLocation
    128Posts

    Re: [PHP] Monsta. - E-Mail

    OwNaGe Monsta. ;D Im Proud of you son.

  3. #18
    Account Upgraded | Title Enabled! myhotel6 is offline
    MemberRank
    Oct 2008 Join Date
    ragezone! 1MIL POSTSLocation
    743Posts

    Re: [PHP] Monsta. - E-Mail

    very nice 8/10

  4. #19
    Bierlust kstor1234 is offline
    MemberRank
    Apr 2006 Join Date
    BedLocation
    820Posts

    Re: [PHP] Monsta. - E-Mail

    very great indeed, can i send mail to multiple emails?

  5. #20
    Go Do 1... Mate !! Extreme, is offline
    MemberRank
    Oct 2007 Join Date
    United KingdomLocation
    1,404Posts

    Re: [PHP] Monsta. - E-Mail

    Not bad at all, Good job ;)

  6. #21
    :-) s-p-n is offline
    DeveloperRank
    Jun 2007 Join Date
    Next DoorLocation
    2,098Posts

    Re: [PHP] Monsta. - E-Mail

    Quote Originally Posted by kstor1234 View Post
    very great indeed, can i send mail to multiple emails?
    to: "email1@mailhost.com, email2@mailhost.com, email3@mailhost.com" etc. This should work with all mailers.. But I'm not sure. You should try sepperating them by commas. That's how every emailer I see displays it, so it probably just works. Just try it and see if it sends to both of your emails, or see if it gives an error ;)

  7. #22
    Banned Monsta. is offline
    BannedRank
    Jun 2008 Join Date
    England - MerseLocation
    1,221Posts

    Re: [PHP] Monsta. - E-Mail

    Quote Originally Posted by s-p-n View Post
    to: "email1@mailhost.com, email2@mailhost.com, email3@mailhost.com" etc. This should work with all mailers.. But I'm not sure. You should try sepperating them by commas. That's how every emailer I see displays it, so it probably just works. Just try it and see if it sends to both of your emails, or see if it gives an error ;)
    I checked the logs on the site someone tried to bomb my email with:

    I only got one email containing the message:

    This is the biggest piece of crap I've seen
    So, that method musn't work.

    @kstor1234 - I'm going to learn the "loop" function soon, so I'll try to make the possible ;)

  8. #23
    Banned Monsta. is offline
    BannedRank
    Jun 2008 Join Date
    England - MerseLocation
    1,221Posts

    Re: [PHP] Monsta. - E-Mail

    Thread updated; lots more pages added!

  9. #24
    :-) s-p-n is offline
    DeveloperRank
    Jun 2007 Join Date
    Next DoorLocation
    2,098Posts

    Re: [PHP] Monsta. - E-Mail

    I said comma sepperated list, not semicolins :) but your right, it probably won't work..

    Here's the code for a sepperated list:
    PHP Code:
    $sepperator ','// you can change the sepperator to anything you want the users to use
    $email explode($sepperator,$_POST['email']); // convert sepperated list to array
    for($i=0;$i<count(email);$i++) //begin loop
         
    mail($email[$i],$subject,$message); //send email 

  10. #25
    Banned Monsta. is offline
    BannedRank
    Jun 2008 Join Date
    England - MerseLocation
    1,221Posts

    Re: [PHP] Monsta. - E-Mail

    Quote Originally Posted by s-p-n View Post
    I said comma sepperated list, not semicolins :) but your right, it probably won't work..

    Here's the code for a sepperated list:
    PHP Code:
    $sepperator ','// you can change the sepperator to anything you want the users to use
    $email explode($sepperator,$_POST['email']); // convert sepperated list to array
    for($i=0;$i<count(email);$i++) //begin loop
         
    mail($email[$i],$subject,$message); //send email 
    @ your code - You forgot the headers bit after $message <3

    But nice idea, may add it in xD



Page 2 of 2 FirstFirst 12

Advertisement