| | |
Email in vb.net
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
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 advanced application array basic beginner browser button buttons center click code combo crystalreport cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic excel exists fade filter forms ftp generatetags html images input insert intel internet listview mobile module monitor net number objects open panel passingparameters pdf picturebox picturebox2 port position print printing problem regex right-to-left save search searchvb.net select serial settings shutdown soap socket sqldatbase sqlserver survey temperature textbox timer timespan transparency trim txttoxmlconverter update user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vba vbnet visual visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year





