473,395 Members | 1,502 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,395 software developers and data experts.

How can i send email to someone in a asp.net application

Hi i,ve made a function that retreives someones password
from my database. I now want to send it to them via email.
How can I do this?

My application is on my remote web server.

Thanks
Nov 17 '05 #1
4 1187
See System.Web.Mail.MailMessage

Matt.

"midi" <sl1210user@no_spam.com> wrote in message
news:03****************************@phx.gbl...
Hi i,ve made a function that retreives someones password
from my database. I now want to send it to them via email.
How can I do this?

My application is on my remote web server.

Thanks

Nov 17 '05 #2
You can send email using the System.Web.Mail class.
Here's more info:
http://msdn.microsoft.com/library/de...temWebMail.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"midi" <sl1210user@no_spam.com> wrote in message
news:03****************************@phx.gbl...
Hi i,ve made a function that retreives someones password
from my database. I now want to send it to them via email.
How can I do this?

My application is on my remote web server.

Thanks

Nov 17 '05 #3

Yeah i know how to use the mail message class.

I,m talking about how do i send outgoing mail? At the
moment all i can do is send to my servers incoming mail
smtp which is no good. I want to be able to send out from
my server.

My host only allows me to let incoming mail using
mail.site.co.uk and then forward this to 1 specified
email of my choice.

I want to be able to send emails out to memebers of my
site.
Nov 17 '05 #4
Well it sounds like you either need to set up a mail server of your own, or
you're likely going to need to pay your host to let you use theirs for such
purposes.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"midi" <sl1210user@no_spam.com> wrote in message
news:38****************************@phx.gbl...

Yeah i know how to use the mail message class.

I,m talking about how do i send outgoing mail? At the
moment all i can do is send to my servers incoming mail
smtp which is no good. I want to be able to send out from
my server.

My host only allows me to let incoming mail using
mail.site.co.uk and then forward this to 1 specified
email of my choice.

I want to be able to send emails out to memebers of my
site.

Nov 17 '05 #5

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

Similar topics

0
by: Akira | last post by:
Could someone tell me how to send outlook appointment email from asp page? I would like appointment email just like one outlook can send out. I tried to look for an answer for this, but it seems...
2
by: pilar | last post by:
Hi All, I'm using a code somebody posted here. I extract the records from a query which gave me just the entries for the current date, there will be maximum 5-6 entries per days and I need to send...
7
by: Randel Bjorkquist | last post by:
First, I'm extremely new to C# and the Microsoft Visual Studio IDE. I am in the middle of writing a small web application that communicates to a database server and sends out email confirmations. ...
6
by: Cameron Eckman | last post by:
I get various errors when I try to use email on the machine I have. XP professional. It works fine on another machine with NT 2000 server. Below is the code: 'BEGIN CODE Dim oMail As New...
8
by: John Brock | last post by:
I am currently using a VB.NET program to send out e-mails with plain text bodies (plus one attachment). The emails are being received as Rich Text messages (probably just my personal Outlook...
2
by: Mike TI | last post by:
April 12, 2006 Hi all I want to send an email through a VB.Net 2005 application. Can someone show me some examples: 1. To send an email through the current default email client, Outlook...
15
by: cj | last post by:
How can I get a button in VB to send the contents of a text box via email in a manner similar to the "Send To\Mail Recipient" functionality that you can select via right clicking a file in Windows...
4
by: Joseph Geretz | last post by:
We use a Soap Header to pass a token class (m_Token) back and forth with authenticated session information. Given the following implementation for our Logout method, I vastly prefer to simply code...
16
by: Ed Bitzer | last post by:
Trying to send groups of email with program using System.Net.Mail. I do not clear MailMessage but repeatedly loop changing only the Bcc entries. Works fine if all addresses are valid. As a simple...
3
digicrowd
by: digicrowd | last post by:
http://bytes.com/images/howtos/applemail_sig_icon.jpg You can make your emails fancy in Mail.app by using Rich Text formatting or even included Stationery. But, a simple way to send your own HTML...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.