473,401 Members | 2,127 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,401 software developers and data experts.

SMTP mail in VS 2005

Can I use SMTP in VS 2005 to send mail through a SMTP server which requires
logon information? I know I can't do that with VS 2003. Thanks
Jul 21 '05 #1
2 1218
Hi,

Actually you can do that with .NET 1.1 as well.

http://weblogs.asp.net/gad/archive/2.../02/35288.aspx
http://asp.net/Forums/ShowPost.aspx?...&PostID=268037

With .NET 2.0 the System.Web.Mail namespace has not changed, means that
SmtpMail class hasn't changed, but there has been added SmtpMailSection
class (System.Web.Configuration namespace) to configure ASP.NET email
settings e.g you can configure email sending in config files and it includes
giving the logon details similarly as is programmatically in previous posts.
Here is about the new SmtpMailSection class.

http://lab.msdn.microsoft.com/librar...ailSection.asp

certainly if you code the email client yourself with network APIs or use a
commercial components, you can get whatever you want.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

"Chris Wagner" <so@hotmail.com> wrote in message
news:Ov**************@TK2MSFTNGP11.phx.gbl...
Can I use SMTP in VS 2005 to send mail through a SMTP server which requires logon information? I know I can't do that with VS 2003. Thanks

Jul 21 '05 #2
Thanks very much. I read the VB.NET core reference and it said it can't be
done with .NET 1.1.
This is a good news.

"Teemu Keiski" <jo****@aspalliance.com> wrote in message
news:es**************@TK2MSFTNGP12.phx.gbl...
Hi,

Actually you can do that with .NET 1.1 as well.

http://weblogs.asp.net/gad/archive/2.../02/35288.aspx
http://asp.net/Forums/ShowPost.aspx?...&PostID=268037

With .NET 2.0 the System.Web.Mail namespace has not changed, means that
SmtpMail class hasn't changed, but there has been added SmtpMailSection
class (System.Web.Configuration namespace) to configure ASP.NET email
settings e.g you can configure email sending in config files and it
includes
giving the logon details similarly as is programmatically in previous
posts.
Here is about the new SmtpMailSection class.

http://lab.msdn.microsoft.com/librar...ailSection.asp

certainly if you code the email client yourself with network APIs or use a
commercial components, you can get whatever you want.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

"Chris Wagner" <so@hotmail.com> wrote in message
news:Ov**************@TK2MSFTNGP11.phx.gbl...
Can I use SMTP in VS 2005 to send mail through a SMTP server which

requires
logon information? I know I can't do that with VS 2003. Thanks


Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ehendrikd | last post by:
hi all i have written a php site that uses the mail() on windows and i had to state in the php.ini file which smtp server to use. have now migrated this site to a redhat 9 server, but i still...
2
by: Dan Boyle | last post by:
Hi, I am having difficulty connection to an smtp host. I am using the following code but I don't think I fully understand what smtp host can be used. function setSMTPParams($host = null,...
21
by: Nancy | last post by:
Hi, Guys, Is there any other way to use python or mod_python writing a web page? I mean, not use "form.py/email", no SMTP server. <form action="form.py/email" method="POST"> ... Thanks a lot. ...
6
by: Fernando M. | last post by:
Hi, i made a test with smtplib module a few days ago, for sending mails, and i was wondering if there's another module for running an SMTP server, so i could make a standalone script for sending...
0
by: Dica | last post by:
i need to parse smtp logs to check the delivery status. from previous experience with smtp logs, i was under the impression that the log file followed a very specific format: EHLO MAIL RCPT...
6
by: Bill | last post by:
I am trying to write a small SMTP client. You enter the IP address of the SMTP server & an EM address & it should send a message with the time to & from the EM addr similar to a telnet SMTP test. ...
2
by: Chris Wagner | last post by:
Can I use SMTP in VS 2005 to send mail through a SMTP server which requires logon information? I know I can't do that with VS 2003. Thanks
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
1
by: Hennie7863 | last post by:
Hi all, At this moment I'm trying to get database mail working. According to some people it should be easy. Well...that is not the case for me. I'm having the following error: The mail could...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.