VB.NET - how to send mail from my own server in vb.net window application?
Asked By kiruba .e on 20-Jun-12 02:57 AM
Hi,
Subject : Send mail from my own server( for example : smtp.gmail.com like this smtp.myownserver.com)
is it possible send mail from my own server? if so,
How to do that in vb.net windows application?
Thanks
Regards
Kiruba.e
Robbe Morris replied to kiruba .e on 20-Jun-12 09:24 AM
You need to configure the SMTP service on your own server. Beware though, there are thousands of bots probing your network ports looking for guys who enabled SMTP but didn't know how to secure it properly. Your server will end up as a relay for all sorts of Chinese dissidents, Muslim extremists, god knows who else wants to mass mail their BS.
[)ia6l0 iii replied to kiruba .e on 20-Jun-12 01:03 PM
First of all, you need to install the SMTP server on your web server, and configure it to listen.
There is an excellent MSDN article titled "How to: Install and Configure SMTP Virtual Servers in IIS 6.0" which explains every step in a clear manner. And note that this is not done on the client machine (because you say VB.Net windows application). This has to be done on the webserver. So you need to connect to a webserver from your windows application, which inturn will send mails through the newly configured SMTP Server. See below for a clear explanation.
Hope this helps.
kiruba .e replied to [)ia6l0 iii on 21-Jun-12 03:32 AM
i am already having my own server. And i try to send email with my smtp server. But it shows error like authentication required or mail sending failed.
Thanks'
Kiruba.e
[)ia6l0 iii replied to kiruba .e on 21-Jun-12 10:36 AM
How have you configured your smtp server? Please shed more details.
Outlook not sending Outlook
message just stay in the outbox - please someone HELP!! 2008.08.21 17:15:55 SMTP (smtp.att.yahoo.com): Port: 465, Secure: no, SPA: yes 2008.08.21 17:15:55 SMTP (smtp.att.yahoo.com): Finding host 2008.08.21 17:15:55 SMTP smtp.att.yahoo.com): Connected to host 2008.08.21 17:16:15 SMTP (smtp.att.yahoo.com): Disconnected from host 2008.08.21 17:16:15 SMTP (smtp.att
Outlook 2003 & Gmail Error 0x8004210B Outlook
sending reported error (0x8004210B) : 'The operation timed out waiting for a response from the sending (SMTP) server." I have followed the gmail pop forwarding instructions to a tee and as mentioned outlook 2003 successfully for many years. Please help. Outlook General Discussions Gmail (1) POP (1) SMTP (1) Shawcable (1) Shawmail (1) Operation (1) Synch (1) Outlook (1) Are you using 'smtp.gmail.com' with port 465 and SSL? I've seen a report of a user 24 My Name Gmail: Synch operation started (flags = 00000030) 2008.09.25 23:13:24 SMTP (smtp.gmail.com): Begin execution 2008.09.25 23:13:24 POP3 (pop.gmail.com): Connecting 23:13:24 POP3 (pop.gmail.com): Begin execution 2008.09.25 23:13:24 SMTP (smtp.gmail.com): Port: 587, Secure: SSL, SPA: no 2008.09.25 23:13:24 POP3 (shawmail.cg.shawcable.net): Connected to host 2008.09.25 23:13:24 SMTP (smtp.gmail.com): Finding host 2008.09.25 23:13:24 SMTP (smtp.gmail.com
Outlook send problem - endless loop Outlook
scan my PST (reported clean) and to re-create it from scratch; - to change the SMTP server (although the original is working just fine with other e-mail clients); - to "repair 2007 (1) Office 2007 (1) YUBhdGMuY2g (1) Outlook (1) Vista (1) VXNlcm5hbWU6 (1) UGFzc3dvcmQ6 (1) SMTP (1) Try this. . .it might be a stuck read receipt http: / / www.howto-outlook.com 01 google@atc.ch: UploadItems: 1 messages to send 2008.04.11 16:42:01 SMTP (smtp.gmail.com): Begin execution 2008.04.11 16:42:01 SMTP (smtp.gmail.com): Port: 587, Secure: TLS, SPA: no 2008.04.11 16:42:01 SMTP (smtp.gmail.com): Finding host 2008.04.11 16:42:01 SMTP (smtp.gmail.com): Connecting
emails not sending-outlook 2007 Outlook
makes sence. Regards Outlook General Discussions Outlook 2007 (1) Office (1) XP (1) Report (1) SMTP (1) ReportStatus (1) DIagnostics (1) UploadItems (1) Have you tried disabling Norton? (Many people here creynolds.eclipse.co.uk: UploadItems: 1 messages to send 2007.11.26 18:01:26 SMTP (smtp.eclipse.co.uk): Begin execution 2007.11.26 18:01:26 SMTP (smtp.eclipse.co.uk): Port: 25, Secure: no, SPA: no 2007.11.26 18:01:26 SMTP smtp.eclipse.co.uk): Finding host 2007.11.26 18:01:26 SMTP (smtp.eclipse.co.uk): Connecting to host 2007.11.26 18:01:26 SMTP (smtp
Outlook 2003 and TLS Outlook
help, Chris. Outlook Discussions Outlook 2003 (1) DoPOPDownload (1) NA73ZVwO001700 (1) NA8MBAgg010829 (1) NA8JigDl007599 (1) SMTP (1) NA8Jigh1007598 (1) UploadItems (1) What mail server and version are you running? Reason I 14. As you can see, Outlook thinks he has authenticated and tries to undertake the SMTP dialog starting with "MAIL FROM:" 2009.11.08 11:38:06 SMTP (smtp.tryx.org): [tx] STARTTLS 2009.11.08 11:38:06 SMTP (smtp.tryx.org): <rx> 220 2.0.0 Ready to start TLS 2009.11.08 11 38:06 SMTP (smtp.tryx.org): Securing connection 2009.11.08 11:38:06 SMTP (smtp.tryx.org): Connected
Car Booking details" ; / / string body = "username = " + TextBox2.Text + ", password = " + TextBox3.Text + ""; mail.IsBodyHtml = true ; SmtpClient smtp = new SmtpClient (); / / smtp.Host = ConfigurationManager.AppSettings["SMTP"]; smtp.Host = "mail@maduraicabs.com" ; smtp.Port = 587; / / smtp.Credentials = new System.Net.NetworkCredential(ConfigurationManager.AppSettings["mashokr.net@gmail.com"], ConfigurationManager.AppSettings["9944070480 smtp.Credentials = new NetworkCredential ( "mashokr.net@gmail.com" , "password" ); smtp.EnableSsl = true ; smtp.Send(mail); Hi, You are using gmail smtp server to send the
Exchange Server Queues Full of Bogus Messages Exchange Server
settings do you have configured on the Relay tab of the properties of your Default SMTP Virtual Server? Lee. - - _ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ _ Outlook Web Access For PDA , OWA For WAP www.leederbyshire.com settings do you have configured on the Relay tab of the properties of your Default SMTP Virtual Server? Lee. Lee: The relay restictions are set to allow relaying only from the time OK - 74.94.213.106 resolves to mail.goodnewsjail.org OK - Reverse DNS matches SMTP Banner Session Transcript: HELO please-read-policy.mxtoolbox.com 250 mail.goodnewsjail.org Hello [64 ID: <GNSERVERbKy5Ekfq79P00011f4a@mail.goodnewsjail.org> Sender: "BANCA POPOLARE DI BARI"<securizza@bpr.it> Envelope Recipients: SMTP:ntoney55@psychosickosonline.com; SMTP:nti@libero.it; SMTP:nticconi@libero.it; SMTP:ntina.b@libero.it; SMTP:ntnalfr@libero.it; SMTP:ntnaltieri@libero.it; SMTP:ntonio.albites.coen@libero.it; SMTP:ntin36
07:29 PM I am using the code below for e-mail send implementation : SmtpClient smtp = new SmtpClient(); smtp.Host = "smtp.publicmail.com"; smtp.Credentials = new System.Net.NetworkCredential ("admin@publicmail.com", "123456"); smtp.EnableSsl = true; smtp.Send(mail); Rether than having "smtp.publicmail.com", "admin@publicmail.com", "123456" in a code, I want them to came from textboxes ( the smtp.host and e-mail ) and input password control, the password. Can anyone show me in
SMTP Protocol vs. SMTP Connector Exchange Server
We recently upgrade to Exchange Server 2003. The consultant configured SMTP using SMTP Protocol. Our old Exchange 5.5 server used a connector instead, the Internet Exchange service I'm interested in the connector is that it permits delivery restrictions. Exchange Setup Discussions SMTP (1) Exchange Server (1) IP (1) FFED (1) NEW (1) MVP (1) DF (1) ED (1) SMTP Virtual Servers are protocol listeners that are bound to particular IP address and port. As such, they listen to inbound SMTP traffic. Out of the box, SMTP Virtual Servers can be used to route outbound internet traffic if the server can resolve
SMTP connectors and SMTP virutal servers? Exchange Server
All, In the process of doing research on another project, I come to another question for you. The use of SMTP connectors and SMTP virtual servers? I've set up 2 Exchange Enterprise server in the past(production servers and have never set up SMTP connectors. All email flow goes through the SMTP virutual server. Now, I'm reading that I should have at least 1 SMTP connector for mail flow. What is the benefits of SMTP Connectors as oppose to my current solution of using SMTP virtual server. Thanks! Exchange Admin