I hope this question hasn't been asked a lot already if so I apologise I'm just learning. I have a web page which contains a form various labels and text boxes what I need to know is how I populate the input into a database and email me when this happens.
I need to create a form that would work like this Choose Provider :( user would select gmail, yahoo, hotmail, ext) Enter Name: ( user enters there name) Message : ( user enters message) and then the "submit"button.
I am trying to find out if what I am looking to do is achieveable. And if it is - where I would start. We have users who are completing an online quiz which they submit to SQL, we then extract the data and using Mail Merge in MS Word send them a personalised certificate by email. What would be better is that when they submit the data to the DB that the certificate was generated and emailed directly back (this needs two fields from the form data to drop into the form template).
I'm building a website for a client on which they want site visitors to be able to fill out a form with the relevant information along with their credit card details, and when they submit the form, the information will be sent to the client in an email. This is an experimental services that they're offering so they're not interested in real time credit card processing yet. If I just zip the collected data up into a password protected zip file, and send that in an email to the client, would it be secure? Or do I have to go further than that to secure the data?
i have very big form in my page (alot text boxes some chkboxes abd more. after the user fill his form he click a submit button. after that i want to get all the form (i mean with all the style and exactly the way it look ) so i have a function that i have build to send mail. i want the msg body will be the form how can i do that? just to get the form and get it as a string (with values )
I am new to ASP.net but i used VB a lot back in days, i am working on a site and i want to create form so the data from it could be submited to the email. i have put some stuff together but need some corrections. It feels like having brain shut down.
[Code]....
And here is code that contact the Email server that i have found in this forum on diffrent thread.
I need to collect the data entered by user for a quote and send all the data with labels to an email address. SMTP server is set up in web.config file, but I need to know the code behind for the submit button click event for the form. I do not need to store any data in a data base just need to send each label,field,radiobutton,etc. user responses to email address. All of the code I have been able to find has not applied to my situation.
I was able to find examples throughout the internet that more or less accomplished what I needed to be done, but now I have run into some problems. I need to be emailed the form data when the users submits it and then the user needs to be redirected to a thank you page, in this case "thanks.asp". I have been unable to get the form to redirect users to the thanks page, and in my efforts I think I might have messed the email process up as well.
I have set up the SMTP email and it works flawlessly on one site both in my development environment and on production server. On second website (dev environ) I have email working for forgotten password, so no problems so far.
I added code to send a verification email where a link needs to be clicked to active the logon credentials. I got this to work from a remote computer testing against my SMTP server.
Now I am back on my development server and I can not get the email to send even though the password recovery email works fine.
Code behind of registration.aspx wizard is below....
[Code]....
This is the only real difference between the Password Recovery and the New Client registration wizard. The Verify.aspx link doesn't even come into play here since the email never gets sent.
In my application users submit a certain form. I'd like to email specific people once the form has been submitted. How do I do this? In the code behind? I'd like to create a default email that is sent out after the form has been submitted with information about the form that has just been submitted. I'm writing in VB.
I have created a customer website which has a contact us form on which on submit populates a database. I would also like to send to myself the contents of the form in an email when the form is submit.All the examples I have seen seem to require the customer to have an email client and know their email settings to send from, since this can not be known how do I send an email. The website is hosted externally.
I have a script that I really like to use for a contact email forms, but it has that mail server configuration info hard coded. I would like it better if it ran off of the web.config mailsettings, but I know nothing about VB. how to change it to run off the web.config.
I am building a simple support call system and part of the system requires that the engineer go in and update any calls he/she is working on. What I was wanted to do was make it so that when the engineer types in all his info and then hits update, the formview not only posts the data he/she has added to the database but also then sends an email to the user with the updated details.
I have a web form that will send a message fine to every email address other than gmail (this one I know for sure) the message is " Delivery to the following recipients failed. " I know this email works since it is mine. I have my own e-mail server and when I send to the same gmail account the message goes through fine (using the same e-mail address in for form and in the e-mail client). Is there some coding I need to add to prevent this form message from being blocked?
I've designed and built this form using Visual Studio 2010 in design mode and set the appropriate controls for each function example txtemail for the text field. Here's a link to the form I did so far you may view my source code, the mission im trying to accomplish is to reset the form by clearing all fields and clearing all validations.
I'm currently studying the Asp.Net VB in TAFE too.
If I complete the email and message fields but not the name, I get an onscreen error message in red - that's fine. But if I leave the @ out of the email address I get this:
The specified string is not in the form required for an e-mail address.
Stack Trace:
[FormatException: The specified string is not in the form required for an e-mail address.] System.Net.Mail.MailAddressParser.ReadCfwsAndThrowIfIncomplete(String data, Int32 index) +1560321 System.Net.Mail.MailAddressParser.ParseDomain(String data, Int32& index) +131 System.Net.Mail.MailAddressParser.ParseAddress(String data, Boolean expectMultipleAddresses, Int32& index) +99
[Code] ....
There is no error message on screen. For each field, I have the following (stripped) in my contact.aspx form:
Code:
<asp:TextBox ID="your_name" runat="server" required></asp:TextBox></p> <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator1" runat="server" controlToValidate="your_name" ErrorMessage="Please complete the Name field"></asp:RequiredFieldValidator>