Click here to Skip to main content
16,006,902 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionsend email Pin
fmardani25-Apr-06 22:42
fmardani25-Apr-06 22:42 
AnswerRe: send email Pin
enjoycrack25-Apr-06 22:47
enjoycrack25-Apr-06 22:47 
GeneralRe: send email Pin
fmardani25-Apr-06 23:15
fmardani25-Apr-06 23:15 
GeneralRe: send email Pin
enjoycrack25-Apr-06 23:26
enjoycrack25-Apr-06 23:26 
GeneralRe: send email Pin
fmardani25-Apr-06 23:31
fmardani25-Apr-06 23:31 
GeneralRe: send email Pin
enjoycrack25-Apr-06 23:48
enjoycrack25-Apr-06 23:48 
GeneralRe: send email Pin
fmardani25-Apr-06 23:59
fmardani25-Apr-06 23:59 
AnswerRe: Try this out!!! Pin
k_bhawna26-Apr-06 0:40
k_bhawna26-Apr-06 0:40 
To send an email
just check few things first:

go to
1.) start -> run and type inetmgr
It will open the IIS and expand the tree of the web server
2.)Right Click Default SMTP Virtial Server -> Properties -> and selcet Access Tab
3.) Click on Relay -> Select Add and type 127.0.0.1 and Select 'Only the List below' Radio Button
4.) Click OK
5.) Now Go to Start -> Control Panels -> Admin. Tools -> Services
6.) Restart SMTP Service

And then trying Sending Mial from your code.
I am not sure wheather this will work with ASP.NET 2.0 but it surely work otherwise making it sure that we write the following:

Smtp.SmtpServer="127.0.0.1"
SmtpMail.Send(mail)

where mail is the instance of Mail Class

Do tell whether this helps or not.


Hope this works.
All the best
Cheers


Enjoy!
GeneralRe: Try this out!!! Pin
fmardani26-Apr-06 2:27
fmardani26-Apr-06 2:27 
GeneralRe: Try this out!!! Pin
fmardani26-Apr-06 2:30
fmardani26-Apr-06 2:30 
QuestionSMS throw Web Service Pin
isroavi25-Apr-06 21:52
isroavi25-Apr-06 21:52 
AnswerRe: SMS throw Web Service Pin
J4amieC25-Apr-06 21:59
J4amieC25-Apr-06 21:59 
GeneralRe: SMS throw Web Service Pin
isroavi25-Apr-06 22:02
isroavi25-Apr-06 22:02 
GeneralRe: SMS throw Web Service Pin
enjoycrack25-Apr-06 22:49
enjoycrack25-Apr-06 22:49 
GeneralRe: SMS throw Web Service Pin
isroavi25-Apr-06 23:26
isroavi25-Apr-06 23:26 
Questionvalidate a file before upload Pin
fmardani25-Apr-06 21:34
fmardani25-Apr-06 21:34 
AnswerRe: validate a file before upload Pin
CWIZO25-Apr-06 21:42
CWIZO25-Apr-06 21:42 
GeneralRe: validate a file before upload Pin
fmardani25-Apr-06 22:01
fmardani25-Apr-06 22:01 
GeneralRe: validate a file before upload Pin
CWIZO25-Apr-06 22:01
CWIZO25-Apr-06 22:01 
GeneralRe: validate a file before upload Pin
NeverHeardOfMe25-Apr-06 22:25
NeverHeardOfMe25-Apr-06 22:25 
AnswerRe: validate a file before upload Pin
enjoycrack25-Apr-06 22:53
enjoycrack25-Apr-06 22:53 
GeneralRe: validate a file before upload Pin
fmardani25-Apr-06 23:16
fmardani25-Apr-06 23:16 
Questionto print or save datagrid control in asp.net 1.1 Pin
rajinder s25-Apr-06 21:33
rajinder s25-Apr-06 21:33 
AnswerRe: to print or save datagrid control in asp.net 1.1 Pin
Praveen_S26-Apr-06 1:51
Praveen_S26-Apr-06 1:51 
QuestionComponentArt give me componentart_webui_client/2006_1_1208/A573G988.js not found Pin
sasire1825-Apr-06 21:31
sasire1825-Apr-06 21:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.