Click here to Skip to main content
15,923,689 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Want to add a webservice in my .net application Pin
kanavgupta21-Apr-08 20:06
kanavgupta21-Apr-08 20:06 
GeneralRe: Want to add a webservice in my .net application Pin
indian14323-Apr-08 8:01
indian14323-Apr-08 8:01 
Generalupdating problem in gridview Pin
Miss Maheshwari21-Apr-08 0:44
Miss Maheshwari21-Apr-08 0:44 
GeneralRe: updating problem in gridview Pin
eyeseetee21-Apr-08 0:52
eyeseetee21-Apr-08 0:52 
GeneralASP.NET -> Ajax And Comet - Braindump Pin
James Simpson21-Apr-08 0:36
James Simpson21-Apr-08 0:36 
GeneralRe: ASP.NET -> Ajax And Comet - Braindump Pin
ChrisKo21-Apr-08 6:13
ChrisKo21-Apr-08 6:13 
GeneralRe: ASP.NET -> Ajax And Comet - Braindump Pin
James Simpson21-Apr-08 22:51
James Simpson21-Apr-08 22:51 
Questionhow to send mail using .net with c# Pin
sugunavathysubramanian20-Apr-08 23:57
sugunavathysubramanian20-Apr-08 23:57 
i am using --->

try
{

MailMessage message = new MailMessage(txtFrom.Text, txtTo.Text, txtSubject.Text, txtBody.Text);
SmtpClient emailClient = new SmtpClient(txtSMTPServer.Text);
emailClient.Send(message);
litStatus.Text = "Message Sent";

}
catch (Exception ex)
{
litStatus.Text = ex.ToString();
}



but it display error -->

System.Net.Mail.SmtpFailedRecipientException: Mailbox name not allowed. The server response was: sorry, that domain isn't allowed to be relayed thru this MTA (#5.7.1) at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) at System.Net.Mail.SmtpClient.Send(MailMessage message) at _Default.btnSubmit_Click(Object sender, EventArgs e) in c:\Documents and Settings\Afxisi\Desktop\hai\New Folder\Default.aspx.cs:line 29





txtSMTPServer.Text="mail.atsl.in";



if you know the answer replay to me....
AnswerRe: how to send mail using .net with c# Pin
eyeseetee21-Apr-08 0:33
eyeseetee21-Apr-08 0:33 
GeneralRe: how to send mail using .net with c# Pin
sugunavathysubramanian21-Apr-08 20:19
sugunavathysubramanian21-Apr-08 20:19 
GeneralInvalid postback or callback argument Pin
dabuskol20-Apr-08 23:32
dabuskol20-Apr-08 23:32 
GeneralRe: Invalid postback or callback argument Pin
eyeseetee20-Apr-08 23:44
eyeseetee20-Apr-08 23:44 
QuestionTracking URL of the Opened Window. Pin
kanavgupta20-Apr-08 23:18
kanavgupta20-Apr-08 23:18 
GeneralRe: Tracking URL of the Opened Window. Pin
eyeseetee20-Apr-08 23:46
eyeseetee20-Apr-08 23:46 
GeneralRe: Tracking URL of the Opened Window. Pin
kanavgupta21-Apr-08 3:09
kanavgupta21-Apr-08 3:09 
GeneralRe: Tracking URL of the Opened Window. Pin
eyeseetee21-Apr-08 4:12
eyeseetee21-Apr-08 4:12 
GeneralRe: Tracking URL of the Opened Window. Pin
kanavgupta21-Apr-08 19:50
kanavgupta21-Apr-08 19:50 
Generalajax tab control Pin
Krazy Programmer20-Apr-08 23:07
Krazy Programmer20-Apr-08 23:07 
GeneralRe: ajax tab control Pin
eyeseetee20-Apr-08 23:16
eyeseetee20-Apr-08 23:16 
GeneralRe: ajax tab control Pin
Krazy Programmer20-Apr-08 23:24
Krazy Programmer20-Apr-08 23:24 
Questionfiring event problem .. Plz Help Pin
legend_of_zanado20-Apr-08 22:50
legend_of_zanado20-Apr-08 22:50 
GeneralRe: firing event problem .. Plz Help Pin
eyeseetee20-Apr-08 23:13
eyeseetee20-Apr-08 23:13 
GeneralRe: firing event problem .. Plz Help Pin
legend_of_zanado21-Apr-08 0:00
legend_of_zanado21-Apr-08 0:00 
GeneralRe: firing event problem .. Plz Help Pin
Blue_Boy21-Apr-08 0:12
Blue_Boy21-Apr-08 0:12 
GeneralRe: firing event problem .. Plz Help Pin
eyeseetee21-Apr-08 0:13
eyeseetee21-Apr-08 0:13 

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.