Thanks Frinny.
I will check that.
Thanks again.
User Profile
Collapse
-
ssmeshack85 replied to In sending data to email, can anyone help me check if I made mistake anywhere....in ASP .NETHai Frinny,
Actually I did not upload to server yet to test...
While im trying to test in my pc, it shows error like this...
Code:An attempt was made to access a socket in a way forbidden by its access permissions 202.190.202.17:25 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where
Leave a comment:
-
ssmeshack85 started a topic In sending data to email, can anyone help me check if I made mistake anywhere....in ASP .NETIn sending data to email, can anyone help me check if I made mistake anywhere....
Hai there,
Check whether I configure it correctly...
Code:myMsg.To.Add("some1@hotmail.com"); myMsg.From = new MailAddress("admin@emailserver.com"); smtp.Host = "mail.emailserver.com"; NetworkCred.UserName = "admin@emailserver.com";
Code:MailMessage myMsg = new MailMessage(); myMsg.To.Add("some1@hotmail.com");
-
thanks for the reply....
I will check it out.
Thanks a lot,
MeshackLeave a comment:
-
How to import detail about checkbox to another page.
Hai there,
Im using ASP .NET C#. Here I have a few checkboxes in page 1. When hit the next button that link to page2, I want checkboxes that checked send it's details to the textbox in page 2.
Can it be done? any comments about it, please.
Thanks,
Meshack -
Hai tlhintoq,
Thanks for the advice. I change it as you said. It is not giving that errors any more.
Sorry that I edited too much. Im just exploring, Im new to c# and learning.
Sorry again to bother you. Now I msg can't send be.
It giving this error...
Code:SmtpException was unhandled by user code
Code:MailMessage myMsg = new MailMessage();
Leave a comment:
-
hai there,
another question.
im using
Code:using System.Web.Mail; using System.Net.Mail;
when I use .net.mail , it give error to codes...
1. cannot be assigned - it is read only
Code:myMsg.To = "someemail@gmail.com";
Code:myMsg.From = txtEmail.Tex
Leave a comment:
-
Hai there,
Thanks for reply.
It is actually <br>... When I keyin to .net, it become like that.
Thanks for the \n...
line 16 is just for a testing purpose. if i use gmail as smtp server, is it alrright???
here is the edited code using your example....
Code:System.Net.Mail.MailMessage myMsg = new System.Net.Mail.MailMessage(); myMsg.To("someemail@gmail.com");
Leave a comment:
-
Need help with sending a form data to email.
Hai there,
Im newbie here. Im creating a form that can be send it data to email when click submit. Im using C# as programming language.
Check wheter the coding that I keyin. Here is the coding.
Code:MailMessage mail = new MailMessage(txtEmail.Text , "someone@gmail.com"); mail.Subject = ddSubject.Text; mail.Body = "Name
No activity results to display
Show More
Leave a comment: