SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Mentor silver trophybronze trophy
    alabamaseo's Avatar
    Join Date
    Dec 2012
    Location
    Birmingham, AL
    Posts
    203
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)

    add multiple email addresses to php form_email script

    Hello,

    I am making a custom form for a client, and I need to send it to multiple email addresses (due to some unfortunate events and the stubbornness of someone financially involved in the project, letting 1 email address forward to the others is not an option).

    Here is my code:

    PHP Code:
    if(isset($_POST['email'])) {
         
        
    $email_to "recruiting@truckingcompany.com"
    Is this as simple as just using a comma or bar to separate the email addresses within the parenthesis?

    I am as novice as novice gets when it comes to PHP, but I will happily offer free internet marketing consulting (my area of expertise) to anyone who is able to help me get this straightened out.

    Thanks in advance.

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,192
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Comma separating email addresses should work fine


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
  •