473,411 Members | 2,030 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Sending email in ASP.NET

Hi

I would to create a 'contact us' page which emails the contents of the page
to a pre-defined email address.
As I will be hosting the page on some 1&1 web space, I will have limited
access to IIS and the ability to install third party components.

What technique could I use to achieve this? It doesn't need to be too
complex, it just needs to grab the contents of a few text boxes and combo
boxes and send an email.

Regards, Carl Gilbert
Jan 1 '06 #1
4 1276
"Carl Gilbert" <mr*************@hotmail.com> wrote in message
news:BE*****************@newsfe4-gui.ntli.net...
What technique could I use to achieve this?


http://www.systemwebmail.com/faq/1.3.aspx
Jan 1 '06 #2
You can use the System.Web.Mail namespace to send email, as detailed here:
http://SteveOrr.net/faq/2in1.aspx#email

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Carl Gilbert" <mr*************@hotmail.com> wrote in message
news:BE*****************@newsfe4-gui.ntli.net...
Hi

I would to create a 'contact us' page which emails the contents of the
page to a pre-defined email address.
As I will be hosting the page on some 1&1 web space, I will have limited
access to IIS and the ability to install third party components.

What technique could I use to achieve this? It doesn't need to be too
complex, it just needs to grab the contents of a few text boxes and combo
boxes and send an email.

Regards, Carl Gilbert

Jan 2 '06 #3
Hi,

Following link will provide you Complete FAQ for sending email in
ASP.NET with System.Web.Mail

Regards,
Gurmukh Singh

Jan 2 '06 #4
That works great cheers Mark.
"Mark Rae" <ma**@markN-O-S-P-A-M.co.uk> wrote in message
news:es**************@TK2MSFTNGP10.phx.gbl...
"Carl Gilbert" <mr*************@hotmail.com> wrote in message
news:BE*****************@newsfe4-gui.ntli.net...
What technique could I use to achieve this?


http://www.systemwebmail.com/faq/1.3.aspx

Jan 2 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Paul Lamonby | last post by:
Hi, I am sending a file from the server as an email attachment. The file is being attached no problem and sending the email, but I get an error when I try to open it saying it is corrupt....
0
by: praba kar | last post by:
Dear All, I have doubt regarding mail sending smtplib module. The below code is I used to send a mail. ########################################## import email.Message import email.Utils...
3
by: VB Programmer | last post by:
I have an ASPX page where I send out emails through my mail server mail.MyDomain.com. When I send emails to MyName@MyDomain.com it sends PERFECTLY. When I try sending an email to any other address...
3
by: Ant | last post by:
Hi, I'm using the MailMessage & smtpMail classes in System.Web.Mail to send mail, however it's not sending any emails. I'm using it on a Windows 2003 server. The simplest way to use this is...
1
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
2
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used,...
9
by: JoeP | last post by:
Hi All, How can I find the reason for such an error: Failure sending mail. Some Code... oMailMessage.IsBodyHtml = False oMailMessage.Body = cEmailBody Dim oSMTP As New SmtpClient...
7
by: bleachie | last post by:
Hey, I just need some help, my form seems to not send me all of the 'guestNames' and 'guestEmails' forms. i use this function to add more guestnames and guestemail fields based on the number of...
10
by: Markgoldin | last post by:
I am sending an XML data from not dontnet process to a .Net via socket listener. Here is a data sample: <VFPData> <serverdata> <coderun>updateFloor</coderun> <area>MD2</area>...
31
by: happyse27 | last post by:
Hi All, I am trying for weeks how to send email from windows pc, which from my gmail account to my hotmail account. Using net::smtp module sending email failed,Kindly assist. (for the item d it...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.