the ASP code send the email from the form

have + asp page (just tests to learn and get it correct) with a form and a code to send by e-mail.
He sent the e-mail on the loading of the page, and I want to send an email only when page sends. What added to the code do I need?

Thanks for any help
Jim balthrop

found this answer on a thread to the United Kingdom. could help someone else.
don't send an e-mail when you press submit of the form button.

added this code

If request.form ("submit1") = "Send form" then
' where submit1 is the name of the button "submit" and send the formula is the value of the "submit" button

ObjSendMail.To = "[email protected]".
ObjSendMail.Subject = "make the basic form of data entry"
ObjSendMail.From = "[email protected]".

"we send an email to text... Simply switch comments round email html rather
ObjSendMail.HTMLBody = request.form ("_email")

ObjSendMail.Send

Set ObjSendMail = Nothing

'as necessary to add this.
end if
%>

Tags: Dreamweaver

Similar Questions

  • When I send an email from my iPad Air to the recipients not Apple and tech photos using the camera icon, the photos are received very extended, larger than the viewing page. What I am doing wrong?

    When I send an email from my iPad Air and attach a photo usping the camera icon, it is received on the devices not Apple very extended and unable to be read. What I am doing wrong?

    You're probably doing nothing wrong.

    One thing to try is after inserting that tap photo images and then change the size. If it works, you have my CCC friend to thank for calling your issue to my attention.

    Tap.

    Tap.

    Receipt by e-mail.

  • "Receive the error message" DocumentEmail clean clean false false false MicrosoftInternetExplorer4 "when sending an email from outlook express

    Original title: DocumentEmail Clean clean false false false MicrosoftInternetExplorer4

    How can I get rid of this message when I send an email from my Outlook Express e-mail account:

    I tried microsoft fix it repair but nothing happens.  I continue to have this problem.

    Hello

    Were there any changes (hardware or software) to the computer before the show?

    Perform the steps in the link and check.

    Error messages when you send and receive in Outlook and Outlook Express

    Hope this information helps.

  • Whenever I send an email from my Hotmail account, I get a message that the WebKit2WebProcess exe stopped working

    Help!  Whenever I send an email from my Hotmail account I get a message that the WebKit2WebProcess, exe has stopped working and the program closes and opens again, then - why?  Maybe what I need to do, it is to disable and depend on my protection to protect my computer from viruses.  In one, even if this is very frustrating!

    Hello

    I'm sorry, but we cannot help with hotmail problems in these forums in response to vista

    Please repost your question in hotmail in the hotmail link below forums

    http://windowslivehelp.com/product.aspx?ProductID=1

    Forums
     
     

  • How can I send an email from abroad in Belgium?

    Hello

    I know this sounds like a stupid question but I am puzzled & in the hope that perhaps there is something more necessary that simply entering it personal email from someone.
    I have a family member in Belgium who is on his deathbed, and his lawyer called me to ask I send an email from my computer in order to fax or scan paperwork.

    He gave me the following email & I called back 3 times to make sure that I understand, because he came back as "undeliverable".

    * E-mail address is removed from the privacy *  (no limit) I tried with www. & even different computers & browsers. I am 100% positive, I got his e-mail correctly, but for some reason, I can't send from my office here in California.
    My email has not changed in 12 years: * address email is removed from the privacy *.
    Does anyone have any idea who need to use a special protocol for California in the Belgium?

    Thank you kindly, regarding Alan
    He continued to come as 'undeliverable '!

    The delivery status Notification (DSN) that you receive will tell you why the message could not be delivered. Different servers use different methods to provide a nondelivery report (NDR); It may be in the displayed part of the DSN or sent as an attachment (often with the *.dat extension), or you may need to see the message source to find. Looking for a line beginning Code of diagnosis.

    If the NDR is an attachment, open it with Notepad to read. If you do not see a nondelivery report anywhere, select the DSN message in the list and press Ctrl-F3 to reveal the source of the message. Look carefully for the Code of diagnosis in a section called something like Content-Type: message/delivery status. If you do not understand it, post here if someone can help you interpret.

  • Please STOP sending me emails from apple support

    PLEASE STOP SENDING ME EMAILS FROM APPLE SUPPORT, THEY SMOTHER MY SYSTEMS

    All you need to do, is to go into your profile > communities and following the judgment.

  • All of a sudden I can't send an email from my live account... maildeamon and non-delivery?

    Why can´t suddenly send an email from my account?

    Hello

    The question you have posted is related to windows live and will be well suited in the Windows live forum. Click on the link below.

    Windows Live Solution Center

    http://www.windowslivehelp.com/

  • Why do I get an error POP 3 whenever I have send an email from the web site of my company?

    original title: why do I get a pop 3 error every time when I send an email on my company website?

    I have a link contact us on the web site of my company. When you click on it you will get my email address or phone number. When I try

    Send an email to my email address I get pop 3 mistakes that will prevent my email sending. can you please

    This difficulty? is what is happening because I have free live hotmail and my ISP yahoo at & t?

    Please do not post in UPPERCASE. It is considered as shouting and rude.

    Ask here and include the complete error message you receive.

    Windows Live Solution Center Hotmail Forum
    http://windowslivehelp.com/forums.aspx?ProductID=1

  • Can I change the info/language of emails from a form of Muse?

    Hello

    I was satisfied with the forms of the Muse so far and they are close to being perfect.

    The thing is, if I made a website for a Spanish speaking customer and they asked me if the info on emails, they received the form of Muse can be in Spanish (the subject of the email, header and footer are in English).

    email.JPG

    Hope this picture helps to describe what I would like to edit/change in another language when I need to.

    Thank you

    The text is localized based on the language of the user interface for Muse when export you / publish. If you want it to be in Spanish, change your preferences of Spanish Muse at IU before you export your site. You may need to export all the files after changing your language of the user interface so that the new text is localized to appear.

  • do not send email from contact form

    I recently tried to do a form of contact in Muse.  Recently, I upgraded my email on a business gmail account and my adobe id email opted for this new email and address.  The contact form I did also corresponds to the same email address, but I still do not receive any emails from the contact form I created.  Emails are some how always bounce back to my old email address (which was a standard yahoo email).  I can't understand where the problem is, please help!

    Could you please check the form parameters and check you always use only not yahoo in the same as email address shown below. Additionally, if the email is updated in the muse project, try to download the site again and see if that helps. ?

  • How to send an email from folio with subj and text

    Hello!

    I have send an email to folion. I know how to do hypperlink but a necessity, not just subj and address. I need a text. Can someone explain how it is should be?

    Best regards

    You can make an object have a mailto link: hyperlink which included the object variables and body.

    It would look like this:

    mailto:[email protected]?subject=Subject-text-goes-here&body=Body-text-goes-here

    Fill the variables with your own text and do not forget to replace the spaces in your text of the object and the body with dashes of figure.

  • How can I receive emails from notification form?

    I've set up a web form and I've tried several times.  It indicates the form went through, but I never receive an email notification sent to my gmail account.

    Thanks for the help, I am very new to Business Catalyst.

    Hello

    Go to the Site Manager-> Web form, and then select the form online.

    Click to change the properties of the-> you will get a window like the image below.

    Make sure that you have assigned a workflow, to get a notification. After making the changes, reinsert the web form and test it again.

    You can see these article as well,

    http://KB.worldsecuresystems.com/kb/create-insert-form.html

    Check also, how Notification Setup.

    http://KB.worldsecuresystems.com/kb/set-notifications.html

    If nothing works, please share the URL of the Web page where you have placed online, so that we can test it.

    I hope this helps.

  • How can I block email from a former friend?

    I need to know how to block a sender of e-mail. He is a person and not a company. I don't want to receive future emails from this person.

    What do you use for an email client? Methods vary according to that.

    SC Tom

  • Send an email from VBA Excel generates the message OK but I don't know how to tell thunderbird to "sendnow". How to structure the command?

    This is the code I use to access the command-line for thunderbird. What I send to Thunderbird the email which was built?

    Dim strCommand As String

    strCommand = "C:\Program Files\Mozilla Thunderbird\thunderbird"
    strCommand = strCommand & " -compose " & Chr$(34) & "mailto:" & strTo & "?"
    strCommand = strCommand & "subject=" & Chr$(34) & strSubject & Chr$(34) & "&"
    strCommand = strCommand & "body=" & Chr$(34) & strBody & Chr$(34)
    
    Call Shell(strCommand, vbNormalFocus)
    

    Automatic sending of mail is not supported. It is extremely difficult to get malware to spew spam with your email client if it does not have an automated shipping option.

    I suggest you use vbs > code SMTP to send your mail. If you use Google or Outlook.com e-mail sent using the SMTP server can be synchronized in the sent folder.

  • When I send an email from Outlook Express, it is sent several times, usually happens when sending electronic mail to the affiliate

    When I send email to the affiliate, it will send several times, fill their Inbox, and then the returned several e-mails to fill my Inbox. I have sent emails of the sample to my personal account, and that works well, except when I attach a pdf file, then it send twice. How can I fix?

    Tools | Accounts | Mail | Properties | Advanced. Uncheck the box: "Break apart messages...". ».
     
    If that does not she, you have corruption of dbx files.
     
    Create a new Outbox and sent items folder.
     
    Follow these steps for the Outbox and sent items after you move the messages you want to save to a local folder that you create.
     
    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.
     
    In Windows XP, the files of user OE (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.
     
    With OE closed, find the Outbox.dbx and Sent Items.dbx file and remove them. New files will be created automatically when you open OE.
     
     
     

Maybe you are looking for

  • iPod classic 80 GB won't charge songs

    Hello I'm an Italian boy, and I have an old ipod classic 80 GB, but it is held with care. I tried to download songs, about 1000 (I was shure first they were totally less then 60 gb) but it stops at the 800th and my computer (end of 2015) with itunes

  • Tecra A11 - 1F4 (PTSE0E-OM6052EN) which XP AHCI driver?

    I am trying to install the drivers for XP on a Tecra A11 AHCI; I have a ghost image that loads on this laptop in compatibility mode in the BIOS and I try to update the driver for the drive in AHCI controller, restart & change the disk to AHCI mode in

  • 15 AC 122TU: driver for 15 AC 122TU

    HIII Guyzzzz... I need 32-bit Windows 8 for PC drivers laptop HP 15 AC 122TU, could not find anywhere in the site, Please help now

  • Wiped a computer due to problems with the operating system, but do not have any media to reinstall. Help.

    No operating system Hello I bought a second hand computer and there is no backup of the operating system CD. He had problems with the operating system start so I wiped it, but now I have to re - install. Would it not possible to obtain another copy o

  • Favorites and favorite bar disappeared

    I just replaced a bad hard disk and restored my computer. I had all my favorites and favorite bar set up and yesterday, that they simply disappeared. I checked and they are all still in their files in the users group, they just can't be seen. I'm puz