Click here to Skip to main content
15,887,683 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Search By Stored Procedure Pin
khalid477525-Nov-16 20:42
khalid477525-Nov-16 20:42 
GeneralRe: Search By Stored Procedure Pin
Pete O'Hanlon25-Nov-16 21:23
mvePete O'Hanlon25-Nov-16 21:23 
GeneralRe: Search By Stored Procedure Pin
khalid477525-Nov-16 21:29
khalid477525-Nov-16 21:29 
GeneralRe: Search By Stored Procedure Pin
khalid477526-Nov-16 3:26
khalid477526-Nov-16 3:26 
GeneralRe: Search By Stored Procedure Pin
Pete O'Hanlon26-Nov-16 6:25
mvePete O'Hanlon26-Nov-16 6:25 
GeneralRe: Search By Stored Procedure Pin
khalid477526-Nov-16 6:32
khalid477526-Nov-16 6:32 
GeneralRe: Search By Stored Procedure Pin
Gerry Schmitz26-Nov-16 8:06
mveGerry Schmitz26-Nov-16 8:06 
QuestionFail to send email using website in C# Pin
Member 906313821-Nov-16 22:03
Member 906313821-Nov-16 22:03 
Hi,
I have the following code:

protected void Page_Load(object sender, EventArgs e)
{
MailMessage myMessage = new MailMessage();
myMessage.Subject = "Test Message";
myMessage.Body = "Hello world ";
myMessage.From = new MailAddress("you@example.com", "Sender Name");
myMessage.To.Add(new MailAddress("you@example.com", "Receiver Name"));
SmtpClient mySmtpClient = new SmtpClient();
mySmtpClient.Send(myMessage);
}

I put in web.config the following code:

system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="Your Name <you@example.com>">
<network host="smtp.example.com" />
</smtp>
</mailSettings>
&lt;/system.net&gt;</pre>


but the result fail to send email???
why???
AnswerRe: Fail to send email using website in C# Pin
Afzaal Ahmad Zeeshan21-Nov-16 23:43
professionalAfzaal Ahmad Zeeshan21-Nov-16 23:43 
AnswerRe: Fail to send email using website in C# Pin
Gerry Schmitz22-Nov-16 5:13
mveGerry Schmitz22-Nov-16 5:13 
GeneralRe: Fail to send email using website in C# Pin
Member 906313822-Nov-16 10:02
Member 906313822-Nov-16 10:02 
GeneralRe: Fail to send email using website in C# Pin
Gerry Schmitz22-Nov-16 10:29
mveGerry Schmitz22-Nov-16 10:29 
QuestionVB.NET Skype commercial call recording PLEASE =( Pin
Member 1280941219-Nov-16 2:27
Member 1280941219-Nov-16 2:27 
AnswerRe: VB.NET Skype commercial call recording PLEASE =( Pin
Dave Kreskowiak19-Nov-16 4:10
mveDave Kreskowiak19-Nov-16 4:10 
GeneralRe: VB.NET Skype commercial call recording PLEASE =( Pin
Member 1280941219-Nov-16 23:13
Member 1280941219-Nov-16 23:13 
GeneralRe: VB.NET Skype commercial call recording PLEASE =( Pin
Dave Kreskowiak20-Nov-16 9:23
mveDave Kreskowiak20-Nov-16 9:23 
GeneralRe: VB.NET Skype commercial call recording PLEASE =( Pin
Member 1280941219-Nov-16 23:18
Member 1280941219-Nov-16 23:18 
AnswerRe: VB.NET Skype commercial call recording PLEASE =( Pin
Richard MacCutchan19-Nov-16 4:52
mveRichard MacCutchan19-Nov-16 4:52 
GeneralRe: VB.NET Skype commercial call recording PLEASE =( Pin
Member 1280941219-Nov-16 23:14
Member 1280941219-Nov-16 23:14 
GeneralRe: VB.NET Skype commercial call recording PLEASE =( Pin
Patrice T20-Nov-16 0:33
mvePatrice T20-Nov-16 0:33 
GeneralRe: VB.NET Skype commercial call recording PLEASE =( Pin
Richard MacCutchan20-Nov-16 6:59
mveRichard MacCutchan20-Nov-16 6:59 
QuestionRe: VB.NET Skype commercial call recording PLEASE =( Pin
Gerry Schmitz20-Nov-16 5:46
mveGerry Schmitz20-Nov-16 5:46 
QuestionLooking for friends Pin
The Term Papers16-Nov-16 23:26
professionalThe Term Papers16-Nov-16 23:26 
AnswerRe: Looking for friends PinPopular
ZurdoDev17-Nov-16 1:10
professionalZurdoDev17-Nov-16 1:10 
AnswerRe: Looking for friends Pin
Patrice T20-Nov-16 1:37
mvePatrice T20-Nov-16 1:37 

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.