I am creating a webpage with a option to send mail through the page (say hotmail.com). The mail is not working/not sent. Anyone could share the code and tips?
What are you using at present? mailto, server-side? Perhaps you could just show us your page.
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?' Drive a Steam Roller
If you use links of the form mailto:someone@somewhere, it'll use the user's mail client - e.g. Outlook - to send the mail. you can't build a hotmail-style interface on this basis.
If you want people to fill in fields on your webpage, click a button, and have it send a mail, you'll need to use some form of server-side language - perl, php, asp, etc... - to do the job for you. Your ISP may provide such a script for you, failing that try Googling for "formmail".
Did you want to create a webmail application as per Chris' post or did you just want to send mail from a website? And if so, is that mail to a specific address or any address the visitor wishes?
Thanks Chris/Foamcow... it is the feedback from the visitors of my website that I need to receive in my mailbox (ex, zack@html.com) when they click the 'submit feedback' button.
Can't be done in HTML. As it was said before, your form action could be mailto, but that is unreliable, as you never know if the person using the site has the mail client set up on their computer. I know a number of people who use only web-clients for their mail and they will not be able to use such a feedback form.
On the other hand you could process the form on the server and send the email like that. For that you would need to find out what server-side lanugage you have and ask your question in one of the fora that deals with that language.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.