Can I send 2 separate emails from one Submit Button?

Have a referral form that an employee completes referring a candidate for a specific position. 
Fields are:  EmployeeName, EmployeeEmail, Candidate, Position, ReqNo.
I created a submit button (used regular button and changed it to a submit and entered an email address). The form is sent to this email address in a PDF format.  This works great.
Now at the same time I would like send a message to the employee acknowledging that we have received their referral -utilizing their email address from the form. 
Is there anyway that I can combine both of these actions on the Submit button I already have created?

To do so i guess you could use this to send an email in ur regular button (not a submit button) in the click event
var oDoc = event.target;
                                   oDoc.mailDoc({
                                         bUI: false,
                                         cTo: "Email here!",
                                                                           cCC: "",
                                                                           cSubject: "Insert Subject Here!",
                                                                           cMsg: "Before submiting the email, include attachments 1, 2 and 3:\n"
and then you can resend an email again with the code above repeated

Similar Messages

  • TS3276 when I send an email from one account, it shows up as sent from another gmail account. Anybody ever run into this

    When I send an email from one of my accounts, it shows up as sent from another account. Does anyone know how to correct this?

    As Ernie said, you need to create an SMTP server for each gmail account with the correct username and password. Be sure the correct server for each account is listed in the SMTP box and check the box to use only that server for that account.
    Gmail's default behavior when sending from one account through another account's outgoing server is to change the address to the server which is used. Same goes if I send a message from my ATT/Yahoo account and use gmail's server to send through. It will change the ATT address to the gmail address.
    There is an option in gmail's settings under the Account's tab under Send Mail As. You can add different gmail or other accounts such as Yahoo to this and choose how the gmail server handles it. You can set it to send as the sending account and not change the address. I've used this many times for my ATT account for sending through gmail when ATT accounts were having problems.
    You can add the different accounts to each gmail account you have.

  • When I send an email from one email address, the reply is always received in another email account?

    When I send an email from one email address, the reply is always received in another email account?
    Thank you,
    Alain

    In Mail preferences under composing tab, check to see what you have for sending new messages from.
    You can also check the account settings and make sure you have the correct SMTP server for each account and the correct settings for each. Also check the box to use only that server for the account so it doesn't switch to another accounts server without asking if there is a failure with one.

  • I am sending an email from one account on iphone 4s but the replies are coming into another account on my phone

    I have had an iphone 4s for about a year and have 4 email accounts that come in on it: verizon, gmail, my work, and icloud.  Periodically, I send an email from one account, it shows the message as sent from that account in my sent mail, but the recipient receives it from the gmail account and therefore replies to the gmail.  Has anyone had this happen?  It is almost as if my messages are bouncing into gmail when I send them, although on my phone it shows as having been sent from another account.  I have not had this happen on my computer where I have all of these emails coming in as well.  I thought perhaps it was me not being careful about which account I was sending from when using my phone, but the mail I sent this morning I was very careful to make sure was from verizon, the sent mail on my phone shows it was sent from verizon, and the reply came in on gmail.  Gmail isn't even the default email address- verizon is! My iphone is using version 6.1.3. Does anyone have any ideas? This is a major problem for me so I appreciate any ideas!  Thank you!!!

    I am not sure whether this is related, but I had a problem with Gmail where each time I sent and email via my iPhone it would bounce back in my Gmail account as unread. You migh want to check this Google article explaining why this happens and how to avoid it:
    https://support.google.com/mail/answer/1710338?ctx=gmail&hl=en-GB&authuser=0

  • How can I send an email from Sharepoint Online using sandbox solution?

    How can I send an email from Sharepoint Online using sandbox solution?
    If possible I do not want to use workflow.
    Is It possible to do it without using workflow?

    hello Steven Andrews,
    when any user sends a message using contact us page in SharePoint online.
    1. We are inserting item in Contact Us List . - This is working fine
    for anonymous users also. We have used Office365 anonymous codeplex wsp and it is working fine. Anonymous user is able to insert new record in the Contact Us List.
    2. Once, new record is inserted in Contact Us list, we want to fire email notifying thanks to the user on his email id as well as to our company x person for notification of new inquiry. 
    We tried using Workflow having impersonation step for  anonymous user but it is not working for Anonymous users. Workflow is able to sent the email if someone logged into system but not working for Anonymous user although workflow is getting started
    but not able to send email although used Imperonsation step.
    We are stuck into implementing second step.

  • Can not send any email from IPhone 5, I get......A copy has been placed in

    Can not send any email from IPhone 5, I get......A copy has been placed in
    your Outbox. The sender address "jvcrews@" has been rejected
    by the server.
    <Email Edited by Host>

    I have the same problem, but I can send and receive e-mails from my home base.  When out of the range of my home I get this message: "
    A copy has been placed in your outbox.  The sender address: "[email protected]" was rejected by the server."

  • Can i send a email from application without using exchange server?

    Hello
    I am developing a 3 tier application using EJB, JSP....and i want to incorporate the mail sending facility.
    Can i send a email from the application without using exchange server?
    plzz help!!!!
    Pavan

    You will require some kind of SMTP server to be able to send mail from your app (not necessarily M$ exchange.) Just look for mail servers for the platform of your choice.
    Vijayan

  • I've bought a new ipad mini and have a new email address. Can I send my emails from my old ipad to my new one.

    I Have two email addresses...one on my work ipad and one on my home ipda. Can I copy all my emails from one to the other.

    Put the same accounts (work/home) on both iPads.

  • TS3899 I can't send any emails from my iphone when I was outside of my house

    I cannot send any emails from my iphone when I'm out.
    How can I solve this problem?

    According to AOL they support IE, Firefox, and Safari: http://help.aol.com/help/microsites/microsite.do?cmd=displayKC&docType=kc&extern alId=73451
    Have you tried contacting there support to see if they are aware of the issue: http://help.aol.com/help/microsites/microsite.do

  • Can't send AOL email from Apple mailbox.

    Rebuilt mailbox, rechecked settings, Followed directions in Apple support and went through all preferences, but still can't send aol mail from Apple mailbox. I get the message," Can not send mail using the server smtp.aol.com:psyxprt". I can send email if I go through Safari and then to aol. Can receive mail. We have Verizon cable, if that is important. I'm about 4 hours into trying to fix this. Help!!!!!

    Instead of accessing your AOL mail via Safari, setup your AOL account using Mac Mail.
    http://help.aol.com/help/microsites/microsite.do?cmd=displayKC&docType=kc&extern alId=72841
    v10.4.11 is a very oudated OS X so it's not going to work on Safari.
    Firefox no longer supports OS X v10.4.11 which is why it's crashing.

  • How can I open two windows from one submit?

    Is there a way to open two browser windows from one click of a button to submit a form? I have a button on a screen that does some processing of the data and then generates a PDF file with the output. I would also like it to run a report and show the output of that in a separate window. I realize that using regular HTML with a target of "_blank" on the form, you can have the results show in a new window, but how can I launch a second window from a single button click, if possible?
    Thanks!

    It can be possible using two different popUps instead windows. Onclick on the button just make vissible true of those two popup in the event method, before making visible true, do the business operation to show on the popups. So simple :)
    Note: Popup has modal=false attribute
    Edited by: man_ish on Jan 12, 2010 10:13 AM

  • How can I send an email from my iPad3 to all of my contacts at once?

    I would like to know how I can send an email message from my iPad 3 to all of my contacts at once.

    If you have a Mac, and you have your contacts synced to your Mac (perhaps with iCloud), you could create a contact group on your Mac containing all your contacts and have that group synced to your iPad.
    Perhaps you can do something like that, depending on whether you keep your contacts somewhere else and what type of computer you have.

  • Can't send receive email from Yahoo account or send from .mac account

    On 5/1, when launching Mail, it asked me to update to new settings or use old settings. I should have kept the old settings. Instead, I had to set up all of my email accounts again. Everything is working except receiving mail from my Yahoo account. Also, I can receive mail from my .mac account, but can't send from it. These accounts are working fine on my iPhone. Is there a way to restore old email settings? Anyone else having this problem?

    Hi Jeffrey,
    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup), it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move these folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.
    Is there a way to restore old email settings?
    Only with a backup or Manually redoing it/them, which may or may not lose the mail you have.

  • Can't send any emails from various accounts set up in mail 4.4

    I have a number of different email accounts (3 POP, 1 IMAP) set up in mail 4.4. Lately i have had some problems sending emails from some of the accounts. Usually, I get the outgoing mail server reject message, and then I try another server, and then it sends. THe next time I go to send an email through the outgoing server that I was rejected by, it sends without problems. Each time I shutdown, restart, or open the lid on the macbook, I go through the same process. UNTIL today. Now, I can't send ANYTHING outbound, via any of the 4 outgoing mail servers that I have set up. I have run with this same configuration without change for almost 3 years. Only change is that I have recently changed ISPs. Please help. Work from home, so critical problem.

    I had had the same problem after changing my ISP. It is definitely a Mail 4.4 problem. I partially fixed it by trashing all four of my e-mail accounts in mail preferences (simply click on the minus sign to delete them) and rebuilding them all with the correct settings and passwords. This worked fine with ATT, MSN and QWest but the Mail app simply refuses to connect to AOL's outgoing mail server (smtp.aol.com). In other words, I can receive AOL mail but I cannot send AOL mail using the Mac Mail app. Have to log on to AOL's web site and do it that way, which is a huge pain in the you know where. Mail 4.4 is definitely hinky -- keeps erasing passwords and asking for them again and again. As a result, my keychain contains numerous repetitions of the same password for each mail account. I don't know why Apple doesn't fix this problem, which recurs with depressing regularity according to many Mac Mail users on this forum.

  • How can i send several emails at one time

    Im trying to send an email out to several addresses and im getting a mailer demon message. How can i send this one email to several addresses?

    How many addresses are you trying to send to at once? Normally you can send a message to a reasonable number of recipients at once, but your mail provider may impose limitations.
    What does the mailer message say? Is it bouncing on a specific email address? (In which case, make sure you typed it correctly)
    Matt

Maybe you are looking for

  • Thunderbolt file copy - the Finder can't complete the operation because some data in  can't be read or written.

    I have a Promisse 4 disk Thundebolt enclosure. To this I did install 4 new 2TB Samsung disks. (it had 512GB disks before). After the disks were replaced a randomly get messages like "the Finder can't complete the operation because some data in  can't

  • Test Restore Of Backup On Seperate Host

    I want to test my backup by restoring the full backup of my production database on a seperate test host.All my RMAN backup's are at primary side on a disk.My doubt here is when i issue restore backup command at test host how rman recoginzes the backu

  • Adding date picker to jsp

    Hi , Please help Is there a sample code available for including date picker control in jsp page and retrieving the selected values onto a text field. Regards,

  • MBP has gray screen on start up, won't reboot

    I bought a used MBP (early 2011) with OS X 10.6.8. It's been running just fine, but last night moving files the screen suddenly went black. I rebooted and it will come up to a gray screen and then sit there. The fans start revving up and it gets real

  • Hijri Date

    Dear Guyz, anyone guide me how to get hijri date with the format (i.e. YYYY/MM/DD ) 1420/02/25 already date store is in database in report its showing DD/MON/YYYY. anyhelp would appreciate. Regards Moazam