Signup · Login
Stardeveloper.com  
Home · Tutorials · Forums · ASP.NET Newsletter Application · Web Hosting Plans · Faisal Khan's Blog · Contact
Forums : .NET : ASP.NET : Working environment required for send a mail with smtoMail Signup · Login
Author Thread
Working environment required for send a mail with smtoMail
Posted in tutorial: Sending Emails using ASP.NET
·  edison
User
Joined: 14 Feb 2003
Total Posts: 1

Working environment required for send a mail with smtoMail

Posted: 14 Feb 2003
I sent a mail from my mail address to my mail address using the smtpMail class in a Visual Basic.NET program, but it is not received. I do not know what and where was wrong.
Following is my concern
1. Instead of OutLook, the Lotus Note is used in my machine as e-mail tool.
2. Working environment is not set properly, such smtp server.
Can you give me help? Thank you!

Edison Zhou IT Developer Foxconn
·  Faisal Khan
AdminAdminAdminAdmin
Joined: 24 Sep 2002
Total Posts: 594
You need a working SMTP Server
Posted: 15 Feb 2003
You have to understand, the SmtpMail class works by using COM-InterOp to communicate with *SMTP Service* running on local Windows system.

To successfully send an email using SmtpMail, you'll first have to install and start SMTP Service on your Windows 2000, XP machine. SMTP Service comes free with your Windows 2000, XP OS.

To make sure it is started and running, try following command at Command Prompt:


net start smtpsvc

If it is installed but not started, it'll start. If it is already running, you'll see a message about it. If it is not installed you'll know.

Faisal Khan.
Stardeveloper.com
Read Blog | Follow on Facebook, Twitter
Want to leave a comment? Login or Register for free!

Users Who Have Visited This Thread In Last 24 Hours
5 Visitors

Login to post a comment or start a new thread
UserName Or Email Address:       Password:       Auto-Login:    
· Create New User Account
· Send Forgotten Password by Email
 
© 1999 - 2010 Stardeveloper.com, All Rights Reserved.