Send form to multiple e-mail addresses

I try to send a form to several addresses e-mail without much luck.  I started to look in the code, and I think I found the problem.

/ scripts/shape - < id > .php has a definition for the enamel with a 'from' and 'to' on the ground.  When I look in/scripts/form_process.php, line 128 in the function get_email_headers, it looks like it uses the variable 'a' in the field 'from '.  If you have several email address set to 'to', it would be a problem.

If I just specify a unique address, everything works great.  It breaks only when I try to send the email to several addresses.  I have separate addresses with a semicolon, as the instructions say, but it always comes up with an error when I try to send.  I think I can fix the code, but I have to do whenever we update the site.

It is under the management of the Emails/Set Default 'From' Email Site/System.

Tags: Adobe Muse

Similar Questions

  • PHP; receive the Contact form to multiple e-mail addresses

    I would like to know how to configure my PHP to send the message from the contact page of the site to more than an email. Please find my course PHP coding below;

    < body >
    <? PHP
    $name = $_POST ['name'];
    $contact_number = $_POST ['contact_number'];
    $email = $_POST ['email'];

    address1 $= $_POST ['Address1'];
    address2 $= $_POST ["address2"];
    $town = $_POST ['city'];
    $county = $_POST ['count'];
    $postcode = $_POST ['postal code'];

    $propertyType = $_POST ["propertyType"];
    $propertyArea = $_POST ['propertyArea'];

    $rearExt = isset($_POST['rearExt'])? "" Back to the floor extension: Yes ': "" back to the floor extension: No. ";"
    $sideExt = isset($_POST['sideExt'])? "' Land extension side: Yes": "' land extension side: No."; "
    $twoStoreyRear = isset($_POST['twoStoreyRear'])? "" Two-storey rear extension: Yes ': "" extension back to two floors: No. ";"
    $twoStoreySide = isset($_POST['twoStoreySide'])? "" Two-storey side extension: Yes ': "" extension aside two floors: No. ";"
    $loft = isset($_POST['loft'])? "" Loft conversion: Yes ":" ' Loft conversion: No. ";"
    $newBuild = isset($_POST['newBuild'])? "" New generation: Yes ': "" new generation: No. ";"
    $flat = isset($_POST['flat'])? "' Dish: Yes": "' dish: No."; "
    $other = isset($_POST['other'])? "" Others: Yes ': "" others: No. ";"

    $message = $_POST ['message'];

    You can specify which email you want your contact form to be emailed here

    $toemail = " " [email protected] "; "
    $subject = "of the Web site;

    $headers = "MIME-Version: 1.0\r\n";
    $headers = "content-type: text/html;" charset = iso-8859-1\r\n ";
    $headers = "from: $name <". "." $email. "' > \r\n";

    $body = "name: $name\r\n.
    E-mail: $email\r\n
    Contact No.: $contact_number\r\n

    Address1: $address1\r\n
    Address2: $address2\r\n
    City: $town\r\n
    County: $county\r\n
    Postal code: $postcode\r\n

    Type of property: $propertyType\r\n
    Property: $propertyArea\r\n

    Back to the floor extension: $rearExt\r\n
    Land extension side: $sideExt\r\n
    Two-storey rear extension: $twoStoreyRear\r\n
    Two-storey side extension: $twoStoreySide\r\n
    Loft conversion: $loft\r\n
    New generation: $newBuild\r\n
    Dish: $flat\r\n
    Other: $other\r\n

    Message: \r\n
    $message ';

    If (! ereg ("^ [a-zA-Z0-9_] + @[a-zA-Z0 - 9-] + \.")) [a-zA-Z0 - 9-------.] + $"(, $email))"
    {
    echo "is not a valid email address.  "Please return to the.
    . "previous page and try again. ';
    "exit";
    }

    mail ($toemail, $subject, $body, $headers);
    echo "thank you for sending your message."
    ? >
    < / body >
    < / html >

    With the php mail function, you can do a few things of different. The simplest is to add email to the variable declaration.

    Change this:

    $toemail = "[email protected]";

    To do this:

    $toemail ="[email protected], [email protected]";

    You can also concatenate the value in the variable for headers to add cc, bcc, etc., respond to e-mail headers. Currently, your code has a header. Well, there are three lines to declare the value of the $headers variable, but only the last line is defined, in fact replaced. This is because the lines after the first header variable are not concatenated. Take a look at your code below:

    $headers = "MIME-Version: 1.0\r\n";

    $headers = "content-type: text/html;" charset = iso-8859-1\r\n ";

    $headers = "from: $name <".$email.">\r\n";

    It should have one. for lines of same variable after the first definition for concatenating the value of the variable as $headers below. Search for php concatenate on google for more information.

    $headers = "MIME-Version: 1.0\r\n";

    $headers. = "content-type: text/html;" charset = iso-8859-1\r\n ";

    $headers. = "from: $name <".$email.">\r\n";

    The \r\n at the end of the code represents a line break in the header. You can concatenate, or add to the value of the variable to the header, adding another line as follows. Note the. in the next line, which says a concatenation of the value of the variable. A BCC field with two additional addresses added to the e-mail header. You can add another line for cc or any other e-mail header that you like. Who should you get.

    $headers = "MIME-Version: 1.0\r\n";

    $headers. = "content-type: text/html;" charset = iso-8859-1\r\n ";

    $headers. = "from: $name <".$email.">\r\n";

    $headers. = "BCC: [email protected], [email protected]';"

  • On transmission button on a form is it possible to add multiple e-mail addresses?

    Is it possible to send a form to several people? And if so how can I go about it without having two separate email buttons?

    Help, please!

    Mustbeluck

    Yes, just put multiple e-mail addresses in the URL mailto, separated by semicolons of semi.  For example:

    mailto:[email protected]. [email protected]

    Concerning

    Steve

  • Captivate 4 - reports to multiple e-mail addresses

    Just upgraded to Captivate 4, and it seems that I can no longer enter multiple e-mail addresses separated upon entry into the quiz preferences/reporting/e-mail field in a semicolon. When I tried in Captivate 4, I got a message saying "Please enter valid email address to continue." Works well with Captivate 3. Can send you to an e-mail address with Captivate 4? Thank you!

    Hello

    I just tried with a semicolon and he agreed very well.

    What may be your nail are spaces. Try to use the semicolon and remove all spaces.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • View a record of Contacts if they are already Contacts in Eloqua to submit the form Eloqua previous e-mail address

    Hi people,

    My apologies if this is an easy question, but I'm new to Eloqua, and I can't understand it, then I hope one of you, kind people can point me in the right direction.

    Basically, I want to have a form on a hypersite were to enter their e-mail address of the user and then click on submit. On submit they are redirected to an another hypersite that displays a form containing some of their contact record fields, if they are existing users I want the fields to be pre filled with contact information, and clearly if they exist not in the system will be the only area that will fill the email address.

    My problem is that I'm not sure how to get the fields to pre-populate in the second form, I know that you can set to pre-populate in the form builder, but im assuming that when you load the form he needs to know what you save are searching fields be filled with If it exists. All this will be done within Eloqua itself, i.e. Forms and the hypersites.

    So just I want to load coordinates into the fields of the form to the e-mail address that was selected on the previous form.

    any ideas on how to do this?

    Any help is very appreciated.

    Kind regards

    Andrew Mc.

    Hi André,.

    This can be done

    (1) on page hypersite - when you insert the form you must click on "map of form fields. This will take care of your form fields hypersite element.

    (There are two types of prepop, one if a person comes to an email and another, if a person comes to a hypsersite page, that it will convert the right type)

    (2) the first form, they argue with their email, change step of final processing of the page of confirmation - "create hypersite and redirect to PURL. This can be done by going to the processing step and click on the small arrow next to the stage of confirmation page and choose the right one. Configure step to send them to the page you created with the form.

    I hope that's enough sense to help you get started.

    Omar.

  • Send report bursting to multiple e-mail addresses

    Hello

    I am getting error when sending report of burst with several following email address, please help me.

    Message detail:

    : RIPPLE_DELIVERY_FAILED: [INSTANCE_ID = bipublisher. 1364735550094] [SUBJOB_ID = 1256]: DOCUMENT_DELIVERY_FAILED: [INSTANCE_ID = bipublisher. 1364735550094] [DELIVERY_ID = 1154] Exception that was passed when the email::deliver API call launch delivery ProcessingException:Email delivery document failed with discount Exception::Email failed with DeliveryException::oracle.xdo .delivery .DeliveryException: javax.mail.internet.AddressException: illegal semicolon, not in a group in the chain "[email protected] ; [email protected] "24::oracle.xdo .delivery .DeliveryExcept .service position

    Here the sample below

    Set query data

    SELECT EmpNo,

    Ename,

    SAL

    WCP

    Application of bursting

    SELECT empno AS KEY,

    'burst_emp_sal' AS TEMPLATE,

    'en-US' AS LOCAL.

    'PDF' AS OUTPUT_FORMAT,

    "E-MAIL" AS DEL_CHANNEL,

    Email AS "Parameter1",

    Email AS parameter3,

    "Salary slip" parameter4.

    'Salvation'. Ename | "Please find enclosed." AS PARAMETER5,.

    'true' AS PARAMETER6

    WCP

    Data in the table

    7839 CLARK 5000 [email protected]

    7782 SCOTT 2450 [email protected] ; [email protected]

    7566 JOHN 2975 [email protected]

    7788 HUGE 3000 [email protected]

    There are two thing wrong in your logic

    1. use the comma instead of a semicolon

    2 parameter3 isn't a right parameter to send several email address actually see the parameter3 from, is not possible SHAPE can be several email address, if you really want then use PARAMETER1 and PARAMETER2 to several e-mail address because it refers to and CC

    Hopefully, your problem will be solved if you look over the points.

    Let me know if you still stuck with the same problem.

  • Submitting a form to an e-mail address

    Greetings.

    I created an interactive form that will be available on my website and downloaded. After the form is completed, I want that the applicant for a service to submit and the form will go directly to the e-mail address. If possible, please walk me through the steps.

    A thousand thanks.

    Teresa

    Hey Teresa,.

    Please post on the Adobe forums.

    Could if it you please let me know which version of Acrobat you are using.

    Once you create a button "submit", then right-click on it to open the button properties dialog box.

    Click the Actions tab, and then select the mouse upward in the menu Select trigger .

    Then, select option to submit a form to select the Action label, and click Add.

    In the dialog box to present selections from form, type an entry in "enter the URL of this link."

    To send the form data to an email address, enter mailto: follow-up of the desired e-mail address.

    Example: type mailto:[email protected]

    Change the settings of the other tabs in the button Properties dialog box and then click Close.

    Proceed in the same way, and let me know if you face any problem.

    Kind regards

    Ana Maria

  • Saving multiple e-mail addresses 'to' in apex_mail

    Hello

    I understand that we can send emails to multiple people by using a value separated by commas. I'm in 4.1 and 11 g. I have a text field that has two addresses of e-mail as a default value. Currently, both are same addresses. I have a button beside him, which when I click, dynamic action, which has mail for APEX logic. Page items to submit has the listed text field. Not page elements to return. This is when I hit the button send, I get a mail, not two.

    Is it because I have the same email address? I was wondering if I'm doing something wrong.

    Thank you
    Sunil

    If you have the same email address in the list 'To' two times you could get even though the e-mail. Try it using different addresses.

  • Using the information in form field for e-mail address in the mailto function

    Hello

    I encountered a problem for which I seem not to be able to find an answer, even after several hours spent browsing the web:

    Basically, I have created a form that I want to distribute to my customers who are supposed to use for their clients. This is to ensure that all processes are standardized.

    My client fills part of the form with their contact information, including their contact email address in a separate field. The end-user (client my client) fills in the rest of the form. After completing the form, the end user is supposed to then click on a button that needs to send the entire pdf form by e-mail.

    I know how to set an email address recipient using the mailto: int; However, as I have many clients that the form will be distributed in the first place, I can't determine before the target of the mailto: command. So I was wondering if it is possible to set the target of the mailto: function to use the information that my client is entered in the contact email address field, so that, once this particular form field is filled, the e-mail address is imported into the functionality of the button and ensuring that the button send is very individualized.

    I would have thought that it is possible, as it is possible, for example, to use a part of the form to appear as the body of the text of an email, but since I was still very much a beginner/amateur regarding all things javascript/php, I've no idea what should look like the script.

    All thought and all help would be greatly appreciated.

    Greetings and thank you very much.

    Yes #3 is the right one.. .the email real option contains the property that has the e-mail address specified in it... then the false e-mail button to change this property before you send it. In your case instead of reference the DDlsi field, you must reference your field that contains the e-mail address.

    Make sense?

    If you're not used to the code, it can look daunting... . If you want to send your form to [email protected] I can code upwards for you so that you can see in your context.

    Paul

  • entering and using multiple e-mail addresses for one contact in the address book in Outlook Express

    Some of my contacts asking me to send emails to all addresses. Because I can enter several e-mail addresses for a contact in my address book, how can I get the automatic address entry button to enter more than one address for a contact and not only the default address?

    You will need to have separate lists (and names) for each address in address book. For example...

    NovemberGirl novembergirl [AT] [email protected]

    HotmailNovemberGirl novembergirl [AT] hotmail.com

    YahooNovemberGirl novembergirl [AT] yahoo.com

    PS: You'll find ongoing support for Outlook Express in this forum: http://social.answers.microsoft.com/Forums/en-US/xpnetwork/threads

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Can you send me a new e-mail address for my e-print center? Message is that mine has exspired.

    I have an eprint of B210 printer. It does not print on the internet.  It does not table for printer.  It says that my email address has expired.  How can I set up another e-mail or address or one of you.  Please send me how I'm setting up a new e-mail address. STUCK

    Hi 7850thelma,

    1. Select the ePrint icon in the upper left corner of the home screen of your printer.
    2. Print the ePrint information page.

    The ePrint code will be the same, but the code is now renewed and is more outdated. You should now be able to add code to your ePrint Center account ePrint.

    * ePrint codes are activated during 24 hours at a time.

  • When I print a photo and send it to my e-mail address of HP I get vertical lines in the image?

    I would like to know how to get rid of the lines in the pictures when I send a picture to my e-mail address of HP that came with my new printer also, I saw in the settings of printer HP E there is no option of 4/6 for select

    the smart 5510 printer I have, I was disappointed to discover that the fandango app is not compatible with this printer

    and I was wondering when it would be available for my printer.

    How to solve this problem with the E print feature on my printer.

    Thanks for any help that you could give me

    Hi Shiba,

    I understand that your printer is not printing picures as expected.  I know you said you tried of troubleshooting steps above.  Where you can take a look at this document?  Can you print from a computer or mobile device?

    I hope this helps.

    * If you find this useful or mean please make sure you click on the White Star under my name to give me congratulations. **

  • Multiple e-mail addresses for a Contact blackBerry Smartphones

    Does anyone know how to store, and most importantly USE more than one address of a contact on a Pearl running 4.3.0.127 software?  BB is a great email management tool, but it has a major drawback because I can store only one of the e-mail addresses of the person, unless I'm willing to have several contact entries in the address book for a person.  I can't store a person working address, home address and phone, let alone address addresses for both phones. Since I was with Sprint and SPRINT software FORCES of e-mail TO SEND PICTUREMAIL on someone of OTHER PHONE, it IS EVEN MORE a PROBLEM!

    If you have a suggestion, please share it.

    Thank you

    No offense... it's very easy to do. Go to your address book -> hoghlight a contact and click the Menu button-> change -> click on the Menu button and select Add an email address. You did!

    You can add up to 3 email addresses.

  • Multiple E-mail addresses for printing configurations

    Hello

    I wanted to install a second e-mail address to allow printing b & w such as color printing. Is it possible to get a second for a second configuration?

    example: I want to be able to print color or b/w via ePrint. Therefore, a flush draw, I send the mail to [email protected] and for printing black and white, I use the [email protected] address.

    Such a thing is possible? Or: Is there a way to affect the configuration of remote printing?

    With greetings

    Bossi

    Hello

    Sorry, it's not, you can not use printer even twice. You can change his e-mail address, but can not do as a second printer.

    Hope it makes sense.

  • Submission of the form to an e-mail address field

    It seems that it would be a simple feature in Dreamweaver to activate, but after looking for many Web pages and watch countless youtube videos that led me nowhere, I'm here to ask how to correctly present the fields of a form created in Dreamweaver to an e-mail address of your choice. Is it possible also without using PHP. Thank you.

    Is it possible also without using PHP. Thank you.

    You will need a script server to do things.  That depends on your plan hosting server & which scripts you can use.

    PHP is my 1st choice.   Some web servers support Perl (an older programming language), classic ASP (old Windows), ASPX (most recent Windows) or ColdFusion.

    Start with your Web host.  Sometimes, they provide form scripts to e-mail you can use by activating in Control Panel of your server.

    If your host does not scripts, after return.

    Nancy O.

Maybe you are looking for

  • How can I add a club membership e-mail addresses without cluttering my personal e-mail address?

    I need regularly correspond by e-mail with members of a club, that I belong. I would like to keep their addresses in a separate account that do not clutter my personal e-mail address. Is this possible and if so, please provide advice on how to implem

  • Receive error message regarding winspool.drv in Vista

    I get a box of the bad Image that keeps popping up with C:\windows\system32\winspool.drv followed by "If the other is not designed to run on Windows or it contains an error. Try to install the program by using the original installation media or conta

  • Addition of 1o of window

    ACTUALIZADO a window 10 desde w.7 It work? : Photoshop CS6 FSX gold Adobe brige YOMVY Spotify A ts team speak EOS utility software. light silver o I have to reinstall agai power?

  • TEREDO TUNNELING ADAPTER DRIVER PROBLEM

    I RECENTLY HAD A PROBLEM WITH PRINTING AND DISCOVERED THAT MY TEREDO TUNNELING ADAPTER HAD A YELLOW ERROR SIGN BY IT. I GOGGLED THE PROBLEM AND REMOVED THE DRIVER AND RE-INSTALLED. THERE IS SAME PROBLEM. NOW I HAVE ADDITIONAL PROBLEMS. WHEN I STOPPED

  • How do I get the browser permission to set the current location

    I had this problem before, and it's why I keep getting of Richardson, Tx. and sometimes even close to cities.  Most of the time my position shows Richardson, Tx. and when I try to detect my location I get the browser refused permission for the curren