| | |
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 30minutes 2005 2008 access account arithmetic array basic bing button buttons center check code combobox component connectionstring crystalreport data database databasesearch datagrid datagridview date design dissertation dissertations dropdownlist excel fade file-dialog filter folder ftp generatetags google gridview hardcopy images input insert intel internet mobile monitor ms net networking objects output panel passingparameters peertopeervideostreaming picturebox picturebox1 port position print printing problem problemwithinstallation project save searchbox searchvb.net select serial shutdown soap survey table tcp temperature text textbox timer timespan toolbox trim update updown user vb vb.net vb.netcode vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic visualbasic.net visualstudio visualstudio2008 web winforms wpf year





