| | |
Email in vb.net
Please support our VB.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Nov 2008
Posts: 1
Reputation:
Solved Threads: 0
E-mail in vb.net
I am using following code to send e-mail. Below code is working fine in my server (192.168.10.10) but when I am using it my client machine it gives proxy error.
Server has proxy setting and user-name and password for proxy are user-name=user and password=user and main login to server to start the server is log-in name=administrator and password is admin.
Please guide me to send the e-mail from my client machine.
System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage();
mail.To.Add("trivedimca@yahoo.co.in");
mail.Subject = "subject";
mail.From = new System.Net.Mail.MailAddress("fultufatak2003@gmail.com");
mail.IsBodyHtml = true;
mail.Body = "message";
System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("192.168.10.10");
smtp.Send(mail);
Thanks,
Prashant Trivedi.
I am using following code to send e-mail. Below code is working fine in my server (192.168.10.10) but when I am using it my client machine it gives proxy error.
Server has proxy setting and user-name and password for proxy are user-name=user and password=user and main login to server to start the server is log-in name=administrator and password is admin.
Please guide me to send the e-mail from my client machine.
System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage();
mail.To.Add("trivedimca@yahoo.co.in");
mail.Subject = "subject";
mail.From = new System.Net.Mail.MailAddress("fultufatak2003@gmail.com");
mail.IsBodyHtml = true;
mail.Body = "message";
System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("192.168.10.10");
smtp.Send(mail);
Thanks,
Prashant Trivedi.
![]() |
Similar Threads
- .net Software Engineer (Software Development Job Offers)
- .NET Consultant (Software Development Job Offers)
- Software Engineer (.NET , SQL) (Software Development Job Offers)
- Senior .NET Developer - Long Term Contract in Rockville, MD! (Software Development Job Offers)
- C# and .Net Developer - Los Angeles, Ca - for the Music and Entertainment Industry (Software Development Job Offers)
- ProgrammersTalk.net Recruiting Forum Posters (Internet Marketing Job Offers)
- .NET developers team searches projects (Post your Resume)
- mailto in vb.net (VB.NET)
Other Threads in the VB.NET Forum
- Previous Thread: dockable toolbar
- Next Thread: upload image in vb.net
| Thread Tools | Search this Thread |
.net .net2008 2005 2008 access account application array basic beginner browser button buttons center check click code combo crystalreport cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic dropdownlist excel exists fade file-dialog filter forms ftp generatetags hardcopy html images input insert intel listview module monitor net networking number open output panel passingparameters picturebox picturebox2 port print printing problem project regex right-to-left searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey tcp temperature text textbox timespan toolbox transparency trim txttoxmlconverter user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year





