Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / November 2004

Tip: Looking for answers? Try searching our database.

SMTP and System.Web.Mail

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Billg_sd - 29 Nov 2004 18:49 GMT
Before I can make calls to System.Web.Mail, I need to ensure SMTP is
configured on the PC (running my app).  If SMTP is not configured,  I need to
turn on SMTP with default settings.  

Is this possible?  Could I use something like sysocmgr to perform a quiet
install before calling:  net start smtpsvc ?
Klaus H. Probst - 29 Nov 2004 18:56 GMT
You don't need the local SMTP service to send mail if you're connecting
directly to the relay server. The Windows SMTP thing is only useful if
you're telling the mail object to use the pickup functionality.

Signature

Klaus H. Probst, MVP
  http://www.vbbox.com/

> Before I can make calls to System.Web.Mail, I need to ensure SMTP is
> configured on the PC (running my app).  If SMTP is not configured,  I need to
> turn on SMTP with default settings.
>
> Is this possible?  Could I use something like sysocmgr to perform a quiet
> install before calling:  net start smtpsvc ?
/dev/null - 29 Nov 2004 19:01 GMT
SMTP service is not running on my machine yet i can use the System.Web.Mail
code to send emails via smtp.  I might be wrong but i don't think you need to
activate the smtp service.

You can just specify an SMTP server .  Check the visual studio help, search
for smtpmail class in the index.  In about smtpmail class there is some code
there which lets you specify your server.

> Before I can make calls to System.Web.Mail, I need to ensure SMTP is
> configured on the PC (running my app).  If SMTP is not configured,  I need to
> turn on SMTP with default settings.  
>
> Is this possible?  Could I use something like sysocmgr to perform a quiet
> install before calling:  net start smtpsvc ?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.