Jump to content

fever84

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

fever84's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, is $contacts an array ? if its not explode it. for example $strContacts = "name@domain.com, name@domain.com, name@domain.com"; $arrContacts = explode(", " $strContacts); Then once all of your contacts are in an array loop round them sending the emails $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; foreach ($arrContacts as $strContact) { mail($strContact, $subject, $message, $headers); } $formMessage = "Thanks, your message has been sent."; $senderName = ""; $senderEmail = ""; $senderMessage = "";
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.