Multiple Dropdowns Email Multiple Recipients

Hi,
I am trying to get 3 different dropdown menus to determine the multiple recipients of a submitted form. I can't seem to get them all to work at once, ...only one or another. This is the click event script I am using on the Submit button. Could someone help me identify what is wrong with my syntax (particularly the vEmail portions)?
// First check if there are null values, then construct email using script
var vEmail =  "";
var vSubject = "";
var vBody = "Attached to this email is a Field Service Issue - Parts Order Form.";
var vName = "";
var vCC = "[email protected]";
var vFormat = "PDF";
var errorMessage = "You have not provided enough information:"; 
     vSubject = "Field Service Issue - Parts Order Form";
// Check email address field and build error message
if (Page1.SendFormTo.rawValue == null || Page1.RSM.rawValue == null || Page1.CST.rawValue == null)
     errorMessage = errorMessage + "\n - Please select who you want to send this form to, including RSM & CST.";
else
     vEmail = Page1.SendFormTo.rawValue, Page1.RSM.rawValue, Page1.CST.rawValue;
     vCC = "[email protected]";
// If fields required for script are null, warn user and do not initiate email
if (Page1.SendFormTo.rawValue == null)
     xfa.host.messageBox(errorMessage, "Sending an email", 0, 0); // Send out a custom error message if any of these fields are null
else
     // Everything is OK, send email
     event.target.submitForm({cURL:"mailto: "+ vEmail +"?subject=" + vSubject +"&body=" + vBody + "&cc=" + vCC,cSubmitAs:vFormat,cCharset:"utf-8"});
Regards,
ZeroZone

I guess issue is with your concatination....I see an issue with following line of code...
vEmail
= Page1.SendFormTo.rawValue, Page1.RSM.rawValue, Page1.CST.rawValue;
I would use following....to concatinate all the email address....
vEmail
= Page1.SendFormTo.rawValue + ", " + Page1.RSM.rawValue + ", " + Page1.CST.rawValue;

Similar Messages

  • Email Multiple Recipients

    Hi, I would like to be able to send email through Forms 10g.
    Here is my problem; the client will select the recipients from the database, as such:
    Select email from table where etc….
    I tried to use mailto, but it hangs when there are multiple addresses.
    1st Form: Client can select the recipients.
    2nd Form: Email the recipients with multiple attachments.
    Any insight would be great.
    Thanks
    VC

    Jari and fac586,
    I thank you both sincerely for your help, but I do not know PL/SQL and am unable to construct the procedure needed even though I see where you are pointing me with your suggestions. I just can't tie it all together.
    Would either of you be able to create the e-mail procedure and display it here, please?
    I'm assuming that I need an anonymous PL/SQL process, correct? I also assume I'll need something like what is given on http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_mail.htm#CHDDAAJE , this shows the SEND PROCEDURE for e-mail in APEX. Now, if I'm correct so far, then I need to figure out how to use the table-to-string to replace the p_to with my list of record values from the checkboxes. Indeed, as Jari mentioned, my checkboxes are named "f01", thus his code of APEX_UTIL.TABLE_TO_STRING(APEX_APPLICATION.G_F01,',') should be used in here somewhere, I just don't know where or how.
    If you wouldn't mind writing this out for me, that would be fantastic and would answer my question. Thank you so much.
    Jim

  • HT4865 How can I have multiple icloud email accounts using the same rescue email account.

    I have several Iphones for my business for managers to use.
    I would like to set them up to send me the recovery emails but it seems only one icloud address can do that.
    Is it possible to have multiple icloud email accounts using the same - seperate recovery email address?

    Unfortunately, you cannot change your primary @me.com or @icloud.com email address, you could however create an alias or create a completely new account.

  • How can I email multiple photos on ipad using ios6?

    Before I loaded the new ios6 i could email multiple pictures at one time using my ipad, now it doesn't give me that option.  Any advice on how to fix this?

    In thumbnail view in the Photos app you should still be able to use the Edit button at the top right of the screen to select up to 5 photos and then use the Share button top left to attach them to an email. Or within the Mail app itself you can press and hold within the body of the email after a second or two when the magnifying glass symbol appears release the screen and you should get a pop-up with one option being 'Insert Photo or Video'

  • Emailing multiple individual photos from iPhoto is causing the same image to be on different emails. Need help!

    I am using iPhoto to edit my pictures from my Canon 60d. As I edit the photos, I send them by email within iPhoto (using the Large setting) to several members of my family. Last night I sent about 20 different pictures with different descriptive titles in the email to multiple people. However, when they view them in their email on their iPhones, it is showing the first picture over and over again, no matter what the title of the email says the photo is. It is even stretching the picture to either landscape or portrait depending on the view of the different pics in each email themselves but is still showing the same pic no matter the orientation.
    I need to figure out if this is a bug with iPhoto and iPhone or if I need to do something different. You would think if you choose an image and email it, it would be THAT image. It only began within the last two weeks or so but it has been consistent when emailing multiple single photos. Any help would be appreciated! Thank you!

    Greetings,
    I've seen this issue myself between iPhoto and an iOS device.  It appears to be an issue with the how the iOS device sees the email templates used by iPhoto '11's built in email feature.
    Suggestions:
    Let Apple know you have this issue: http://www.apple.com/feedback/iphoto.html
    Go to iPhoto > Preferences > General > Email photos using > MailThis will bypass the email templates and send your images directly from the Apple Mail program.  You won't have the pretty templates, but the images will come through (which is the important part in my opinion).
    Keep your software up to date on your computer and on your iOS devices. (If / when a fix comes, that's how you'll get it.)
    Cheers.

  • How to email multiple photos in one email-PS Lightroom 4

    Hi,
    I would like to email multiple photos in one email.  Is there a way to do this? Right now I understand how to email 1 photo at a time. I am using the Mac Version of Lightroom 4.
    Thanks in advance.
    Cheers,
    Lourdes

    Yes.
    If you select more than one photo in either the Grid or the Film Strip and then go to File>Email Photos… it will send all that are selected. .

  • Convert Multiple Outlook Emails to Multiple PDF Files (Not Portfolio or Single PDF) for Archiving?

    Hi all, I am learning how to convert emails to PDF files and there is some great functionality there!!  I have not discovered how to convert multiple outlook emails into multiple PDF files (one PDF file for each email) - all at the same time (not one at a time)!!  Is there a way to do this using Acrobat X??  The purpose of this is for long-term business archiving.  When I search for an email in the archive, I do not want to pull up a portfolio containing 1000 emails or a 1000 page PDF file with multiple emails run together!!!  I want to pull up individual emails containing my search terms.  I have been searching for a way to archive emails and MS OUTLOOK .PST files are NOT the answer.  I get a lot of business emails with large attachments and I do not file my emails in separate sub-folders (by client or job).  I want to convert multiple emails (by date range) from my UNIVERSAL INBOX into multiple PDF files for long term storage (with each email being converted into its own, separate PDF file and named with the same name as the "Re: line" of the email).  This has been a HUGE problem for me....and Acrobat is sooooo close to the solution for me.  Can anyone help??  If so, will attachments be converted?  If not, is there a separate software program or add-in that I can buy that will do this??  I use MS Office 2010, Adobe Acrobat X Pro, Windows 7 64 BIT.  Thanks for your help!!

    I am a retired person and did'nt realize I already have a Adobe account, so you can scrap the entire information. Thanks for the trial anyway and have a great week.
    Frederick

  • TS3276 Why am I receiving multiple duplicate emails and how do I stop this from happening

    Why am I receiving multiple duplicate emails after the initial message comes in, it keeps duplicating them. How do I fix this problem?

    For the mailbox where you are receiving duplicates ...
    Select the mailbox on the left of the Mail window.
    From the Mail menu bar top of your screen click Mailbox > Rebuild
    See if that helps the duplication issue.

  • How to email multiple contacts with mail in yosemite (holding down the shift key no longer works)?

    Does anyone know if it is possible to select multiple contact email addresses simultaneously from the contact list in Yosemite in a similar fashion to what we used to do (hold down the shift key)?  I have tried all the key combinations I can think of and none of them work. The "smart" address is a pain to use (to me at least) and I would have to make so many groups up to do what I use to do with just a few key strokes that I am really frustrated. Thanks for any help.

    Electron Mover,
    You can still open the stand alone Contacts App located in your applications folder and then drag and drop your contacts into the "To" field and it will add them. Also As you said.
    If you want to select multiple people in the Contacts App,  you can ( Command ) ( Click ) them and then drag and drop them into the "To" field.
    You can also place all the contacts into a group in the Contacts App. Then either drag and drop the group name from The Contacts App to the "To" field in Mail or you can start to type out the group name in the "To" field in Mail and from the pop down list select the group name and it will add all the contacts from that group.
    If you are willing I encourage you to send them feedback here: https://www.apple.com/feedback/macosx.html or https://www.apple.com/feedback/mail.html they won't respond but at least they will know your opinion.
    Hope that helps,
    Weston

  • Multiple recipient email addresses is not working  for xsl & PDF Attachment

    multiple recipient email addresses is not working properly when
    to list has some external email address and sending xls and PDF file as an attachment.
    Test Scenario:
    (A) Create mail target activity
    1)To email : use the multiple email id with some external domain (ex.
    [email protected] ,[email protected], [email protected])
    2)File attachment with .xls file and this file is sending to mail target as an inputstream(at runtime)
    3)Use all other valid parameter in activity.
    (B) Create a process flow File source to mail target
    Execute the process flow.
    Actual Result: Mail is received by every email account. Only external email account get correct file but other email account(as ([email protected])) attachment files
    displaying message
    �abc.xls� can not be accessed. The file may be read-only, Or you may be
    trying to access a read only location. Or, the server the document is stored on
    may not be responding.�
    When i trying to open xls and PDF file
    Expected Result:
    All type of file attachments should be supported with all valid email address
    (servers).
    Pls help me about this senario:
    What is problem in this case:
    I am sending code
    Session session =getSession(host,port,secure);
    session.setDebug(this._debug);
                   Transport trans = connect(host,port,session,userID,password);
                   Message message = new MimeMessage(session);
                   InternetAddress[] iAddr = null;
                   message.setFrom(new InternetAddress(fromName));
                   iAddr = InternetAddress.parse(toUserName, true);
                   message.setRecipients(Message.RecipientType.TO, iAddr);
                   message.setSubject(subject);
                   //BodyPart messageBodyPart = new MimeBodyPart();
                   Multipart multipart = new MimeMultipart();
                   MimeBodyPart messageBodyPart=null;
    if(dataLocation!=null && dataLocation.equalsIgnoreCase("ATTACHMENT")){
                        String tmpName=fileName;
                        if( inputstream != null)
                                  tmpName = makeAttachment(fileName,inputstream);
                        messageBodyPart = new MimeBodyPart();
                        DataSource source = new FileDataSource(tmpName);
                        messageBodyPart.setDataHandler(new DataHandler(source));
                        fileName = fileName.replace('\\', '/');
                        fileName = fileName.substring(fileName.lastIndexOf('/') + 1,
                                  fileName.length());
                        messageBodyPart.setFileName(fileName);
                        multipart.addBodyPart(messageBodyPart);

    First, when sending your message, the filename should be a simple
    filename, not containing any directory names.
    It sounds like your mail server might be doing some special
    processing of attachments, perhaps to prevent viruses.

  • TS3276 how do I get Mail to stop downloading the same email multiple times?

    My mail keeps downloading the same email multiple times.  I've had as many as 10 of the same emial.  How do I stop this?

    Me too - did you ever figure it out?
    You can't even delete from the server in mountain lion.... I did it from my old mac, but it didn't work. I keep having 11,000 new emails that can not even be deleted in blocks!!!
    Was it a gmail account? Mine is, and my other 2 are fine...

  • Linking Multiple Dropdown Lists

    I have a form with multiple dropdown lists for a person's full name, room number, and phone numbers.  There are 12 names; 2 rooms; and 8 phone numbers listed.  More than one name can be tied to a certain phone number.  All fields are required.  I tried to use another script for the name and phone number (see below), but it did not work for me.
    Attempted script:
    var one = this.getField('Name');
    var two = this.getField('Number');
    if (one.value == 'Jane Doe') {two.value='321-123-4567' }
    if (one.value == 'Johnny See') {two.value='999-345-6789' }
    if (one.value == ' ') {two.value=' ' }
    Requester's Name (Dropdown List - 12 choices)
    Room (Dropdown List - 2 choices)
    Phone Number (Dropdown List - 8 choices)
    Jane Doe
    238C
    321-123-4567
    Johnny See
    999
    999-345-6789
    Even though I do not know Javascript, if someone could get me started as far as the coding goes, I think I may to figure out other parts.
    Thanks, N

    the variable 'part" needs a value. Add the script:
    part = this.rawValue
    SOnineThreenine.fxnineThreenine(part);
    to the exit event of dropDownlist2. Otherwise the variable "part" gives you a console error message of [object XFAObject]

  • How to create multiple iCloud email addresses?

    How do I create multiple icloud email addresses with out creating multiple Apple IDs?

    If you want multiple aliases, just login to iCloud.com and you can create them there in your mail account settings.

  • Help with emailing multiple photos in IPhoto using entourage

    I am trying to figure out how to email multiple pictures. When I highlight them and click on the icon for preparing them to email, they will appear in a blank email. I cannot drag them, however to another email out of entourage.

    The ! turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    What version of iphoto? Assuming 09 or later...
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • HT4897 Can I have multiple icloud email addresses. i.e. one for me one for my wife?

    Can I have multiple icloud email addresses. i.e. one for me one for my wife?

    You can if you create two iCloud accounts.  Each iCloud account is only given a single email account.  (You can have additional email alias addresses, but they will still deliver incoming email to the same email account and inbox.)

Maybe you are looking for

  • Reports 6i integration questions

    Reports Services is registered as an application in Portal and that registration includes a number of parameters which control the idle time of each report engine process, the total number of report engine processes to run at any one time and the num

  • How to install forms and reports 6i

    I am facing a problem while installing Forms 6i. The following are the details. I successfully installed Oracle 9i first under F:\oracle\ora90. While installing Forms 6i, I selected the "Typical" and gave the path as "F:\oracle\ora90" and clicked on

  • I cannot open files in Bridge

    Suddenly I cannot use bridge in CS3. I can use a shortcut to open the bridge page. Then when I try to open an image I get a box that says "Windows cannot find F:\programfiles\adobe\adobephotoshopcs3\photoshop.exe" This is way outside my computer skil

  • Premiere Pro 2.0 - AME Won't open!

    Hello. Trying to export simple small AVI file to Quicktime. Premiere Pro 2.0, Windows XP, etc. 1st two attempts: Export/Adobe Media Encoder, chose Quicktime format. Encountered some kind of problem, error: Invalid profile file!  I think this is an au

  • Exporting through "share" to email or CD reverts to original photo without my edits.  How to change that?

    I make changes to photos, then use the "share" command to put on a CD - and the photos on the CD do not have any of my changes/edits.  Same thing happens when I email the photo.  I turned it to black and white in iPhoto, but the picture in the email