Using variables to populate Email Address, Subject, and Body

I am trying to setup a for to alert contractor when their service calls are completed. I would like to use the email address, Subject, and body from fields on the PDF form.
On the Button I am using the following Click / Javascript
var myDoc = event.target;
var rEmail = CuEmail.rawValue;
var rSubject = EmailSubject.rawValue;
var rBody = DescribeProblem.rawValue;
myDoc.mailDoc(
false,
rEmail, "", "",
rSubject, "", "",
rBody, "", "",
Nothing happens when I click the button with this code. But, if I drop the last comma from:
rBody, "", "",
It will send the email with the correct email address and it will include the subject like I want it. It will just not populate the body section of the email.
Any help would be greatly appreciated.

I had a similar requirement and but took a different approach for a request/reply model. There are two fields on the form that the request fills in that directs how the submit button will work for the responder...
RequestFileType (This can be PDF, XML, or XDP)
RequestDestination ( This the URL, FTP site or email)
Here is the script that I run on the Presubmit event for the form when it initializes.
MaterialCompositionInformationDistribution.RoHSpage2.RoHSDirective.SubmitMCDFormButton.#ev ent.#submit.target = MaterialCompositionInformationDistribution.RoHSpage1.RequestInformation.RequestDestinatio n.rawValue;
MaterialCompositionInformationDistribution.RoHSpage2.RoHSDirective.SubmitMCDFormButton.#ev ent.#submit.format = MaterialCompositionInformationDistribution.RoHSpage1.RequestInformation.RequestFileType.r awValue;
What it does is poke values into the submit button basically. To send to an email address. you enter mailto:[email protected] or to post to a servlet you would enter http://www.domain.com/foobarservlet

Similar Messages

  • FF10 Mailto links to gmail no longer populate email address, subject, or body.

    I click a mailto link and this same link (craigslist links) has always populated email address, subject, and body. Now it does not do any of that. Anyone know what the problem might be?

    thanks for checking! after numerous tests, i've realized that it must be because i have gmail set as my default email client. so... although gmail recognizes html text links, flash not so much. at least i can stop driving myself crazy with the flash file!

  • How to send Oracle report automatically in format pdf by email with subject and body?

    Hello,
    How to send e-mail attachment and mail other details like from ,subject,cc,to,mail body. In Oracle Developer Suite 10g?
    Regards.

    did you try to run report parameter form = yes ,
    put to the parameter form following system parameters  and set et.
    run report  with belove value
        - DESTYPE = MAIL
        - DESFORMAT = PDF
        - DESNAME =  mail adres
    then according to the result ,rearrange your report forms side  while invoke report from forms
         -  SET_REPORT_OBJECT_PROPERTY(  reportobject_id , DESTYPE          , mail ) ;
         -  SET_REPORT_OBJECT_PROPERTY(  reportobject_id , DESFORMAT     , PDF ) ;
         -  SET_REPORT_OBJECT_PROPERTY(  reportobject_id , DESNAME          , mail adres ) ;

  • Mailbox Quota Message, Sender, Subject and Body blank?

    Running Leopard Server, I have mail quotas enabled. System sends the email to the user but the email message From Address, Subject, and Body are blank. I have them set in Server Admin but they don't show in the message. Is there a setup file that I can edit in terminal to correct?

    Haven't checked yet on Leopard, but I would think the files are:
    /private/etc/mail/quota_warning.txt
    /private/etc/mail/quota_exceeded.txt

  • TS1389 I used to have another email address associated with Itunes and transfered my songs to my new Imac now some of the songs wont play because they were athorised on another computer and I cannot remember my old Itunes password associated with the old

    I used to have another email address associated with Itunes and transfered my songs to my new Imac now some of the songs wont play because they were athorised on another computer and I cannot remember my old Itunes password associated with the old email.

    Hello Johnny Reptile,
    The following article details the necessary steps for resetting your old Apple ID's password.
    Apple ID: Changing your password
    http://support.apple.com/kb/HT5624
    Cheers,
    Allen

  • Apple has just deleted my alias - which I was using as my main email address.  They deny me creating a new one for 7 days.  How can I get in touch with Apple so that they repair what they have broken?

    Has anyone had a problems with their alias today?
    Apple has deleted mine today; causing me a major headache as they deleted the alias that I use as my main email address.
    What happened exactly, is that the @icloud.com alias remained, but the @me.com disapeared.  So that the John.Smith alias became valid only for [email protected], but [email protected] disapeared.
    To try to restore the situation, I deleted the alias, with the hope of re-creating it: but bad luck, that option is not open to me as I have had 5 aliases active till today, and they now only give you 3, and even once I had deleted 2, they would not allow me to set-up a new one for 7 DAYS.
    I can't be without email for 7DAYS, care of Apple.  Calling AppleCare does not seem to help, and the line gets dropped once I have explained the problem.
    Please help me raise someone at Apple to fix this.
    Alain

    See this discussion, https://discussions.apple.com/message/19779377#19779377

  • HT204053 I need to use an existing ID (email address) on a new iPhone. It tells me "choose another ID - that one is in use," with the option to "use existing ID," however, it is an endless loop, referring me only to change my password on the existing ID.

    I need to use an existing ID (email address) on a new iPhone. It tells me "choose another ID - that one is in use," with the option to "use existing ID," however, it is an endless loop, referring me only to change my password on the existing ID.
    How do I enable my new device with an existing ID - I do not need to change the password for the millionth time!
    None of the FAQs (or the Community choices below) address new devices, they are all about APPS and iCloud stuff.

    If it is an existing iCloud ID, you should be able to just go to Settings>iCloud and sign in with it.

  • How can I use my old MobileMe email address if I did not migrate to icloud by the deadline?

    I had a mobile me account that I did not migrate to icloud.  Now when I try and set up an icloud account using the old mobileme email address, it says that address is already in use. I then try and access it but the password doesn't work and it says mobileme is closed. When I try and reset the password, it says an email has been sent to the email on file...which is an old mobileme address that I cannot access.
    How can I get this email address set up in icloud? 

    Nice idea - I tried it but it doesn't seem to work (at least not for me).
    So here are the details in case, you can spot something more I could do....
    When MobileMe was live
    MobileMe ID was [email protected]
    AppleID (to make iTunes purchases) was [email protected]
    When iCloud went live (and MM was still alive)
    iCloud account was created based upon AppleID - [email protected]
    iCloud would not create [email protected] as was already in use (by me)
    iCloud would not merge [email protected] as iCloud does not merge
    MobileMe migration to iCloud option was not taken
    Deleted all data out of MobileMe account (mail, calendar, contacts, gallery)
    Deleted MobileMe mail account off of all devices
    When MM died
    I received notification that I had not migrated my MM account
    iCloud was happily working as Contacts/Calendar sharer using my AppleID of [email protected]
    Weeks later on Mac running 10.8
    System Preference - iCloud, already logged in with AppleID of [email protected]
    Then ticked the untick Mail box
    Long wait with small grey whirling cog box, stating "Loading". Eventually a BLANK message box with OK which then disappeared on a timeout.
    System Preference - Mail...  Re-added [email protected] (now picked up as iCloud account)
    Mail - Accounts.... Re-added [email protected] BUT got message "Mail can'y connect to the account..."
    So tried logging into www.icloud.com (using AppleID of [email protected] where my contacts/calendar now reside).  Clicked on Mail icon and received "@me.com Address Needed" message

  • Why can't I use my previous MobileMe email address instead of creating a new one?

    Why can't I use my previous MobileMe email address instead of creating a new one?  When signing up for iCloud I'm asked to choose an email address [email protected]  I am already using an @me address via moblileme.  When i input that address it states that that address is already taken.  Try picking a new one.  I don't want a new one I want to use my mobileme address.  How can that be done?

    It appears you set up a new iCloud account rather than migrating your MobileMe account over to iCloud.  I migrated everything over this morning and am still using my old MobileMe email address.
    Check to see if you can migrate rather than open a new account.
    Lew

  • I bought pages ages ago using an iTunes account that no longer works as the email address has been closed down. How can I now update my Pages app, if it asks me to sign in using this now defunct email address?

    I bought Pages ages ago using an iTunes account that no longer works as the email address has been closed down. How can I now update my Pages app, if it asks me to sign in using this now defunct email address?

    All apps are always tied to the account from whaich they were purchased and will always have to be updated using that account.
    Just because the e-mail account is shut down, has nothing to do with the itunes account. Why did you create a new account?  Why not just change the e-mail associated with the old account?

  • I have an email account on qou but all the incoming emails subject and body appear as question marks, why???

    I have an email account on QOU (al-quds Open University) but all the incoming emails subject and body appear as question marks, why???

    Try to set the Boolean pref <b>gfx.font_rendering.directwrite.use_gdi_table_loading</b> to <i>false</i> on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    Try to disable hardware acceleration.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"

  • Can you use more than one email address on one account as to enable two or three devices to use imsg????

    Can you use more than one email address on one account as to enable two or three devices to use imsg as when i add new email address's in settings it just says veriyfying and nothing happens????

    If I read your question right, yes.
    My pad has two e mail addresses, and my phone has a phone number as well as a e mail address.  For each device you can add additional 'receive at' addresses in settings.
    Note, when you add a new address, apple will send an e mail to that new address that you need to respond to, to show that it is a valid address.  So look in the inbox of that e mail account for the verification e mail.  Note further, some spam filters think that the verification e mail might be spam, so if it does not show up in your in box, look in any spam file you might have.
    in my case, the verification e mail came within a few minutes of declaring the new address.
    The multiple address are useful if you have more than one device under your apple id, and want to be able to send stuff to that particular device.

  • Emails appear in bold text (subject and body)

    A few days after installing OS X Yosemite on my iMac, all of my Comcast emails appear in bold text (subject and body text). This makes it difficult to distinguish unread email from read email.  I view email directly through the Comcast website (NOT with Outlook or Mail). This issue happens in Firefox and Safari. My email looks normal on other devices. I am working with Comcast to try to resolve the issue, but since it started a few days after upgrading to Yosemite, I thought I'd check here too.

    Try to set the Boolean pref <b>gfx.font_rendering.directwrite.use_gdi_table_loading</b> to <i>false</i> on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    Try to disable hardware acceleration.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"

  • HT2155 I want to use hotmail as my email not icloud and need to connect new ipod to the same account as my ipod nano

    I want to use hotmail as my email not icloud and need to connect new ipod to the same account as my ipod nano

    Just setup the iPod with your Hotmail account email address/Apple ID
    The add the Hotmail email account to Settings>Mail

  • Submit does nothing for "Make your Apple ID and primary email address one and the same"

    Hello,
    My Apple ID is currently [email protected]
    My primary email address is currently [email protected], and has never been used as an Apple ID
    I would like to use my primary email address as my Apple ID. But when I click Submit for on "Make your Apple ID and primary email address one and the same", nothing happens, and no error message is displayed neither.
    Any idea ?
    Regards.

    hey johnfromhoboken, i have the same problem. have you solved this one already? let me know. thanks!

Maybe you are looking for

  • HT1657 how do i move a rented movie to my apple tv?

    I've just rented a movie through itunes on my macbook and want to watch it on my tv through apple tv.  How do i movie it to the apple tv?

  • Adding system and client specific TMS approval steps

    Hello, In defining QA approval steps, how to define a step which is not system and client wide? When adding a new step, it is automaticaly defined with * in the client and system fields, and when changing the steps, these fields are not editable. How

  • My Iphone contact list has somehow been filled by Facebook.

    My Contact list is ok on Icloud. How can I update my Iphone with my Icloud contact list and get rid of the other contacts.

  • Arch Linux Gallery

    I am proud to present the re-opening of the new Arch Linux Gallery! The Arch Linux Gallery is a site dedicated to screenshots of (guess what?) Arch Linux. It is meant to be a repository for screenshots, configs, artistic creations, and anything else

  • N8 Maps update problem - can anyone help

    Hi i connected to OVI and was told there were updated maps. It stopped half way through update. My N8 had all maps etc removed I have decided to reload ,aps 1 by 1 to my device using OVI However th "NETHERLANDS " map part downloaded and wont transfer