473,461 Members | 1,505 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Secure Remote SMTP Email Sending in ASP.NET

Hello all,

I am creating an application which must send an email once all has been
submitted to the user with a confirmation. In my workplace, we're
required to use a remote SSL SMTP server to send all email. I searched
the net for a while and could not find a non-third party way to
accomplish this. I found many sites telling how to use the MailMessage
and SmtpMail objects, but I did not see a way to use those for a remote
secure SMTP, only a remote SMTP. I remember in ASP there was CDONTS
that I could use, and I wondered if there was something obvious I was
missing in .NET that's comparable which will handle secure
communication. If there's any web sites you can refer me to also, I'd
appreciate it.

Thanks so much for your time,
David

Jul 21 '05 #1
1 1720
I found the solution. It's the same as in ASP with CDOSYS.

Here's a site that explains the XML schema and how to use it using the
MailMessage object:

http://www.codeproject.com/dotnet/Sy..._SMTP_AUTH.asp

Jul 21 '05 #2

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

Similar topics

3
by: Andy Turner | last post by:
Hi, I'm trying to setup PHP so it will use a remote SMTP server. I'm going to sound like a newbie but how? I know you need to alter php.ini, change SMTP from localhost to the SMTP server and the...
3
by: dale zhang | last post by:
Hi, I write an asp.net web application. It has a “Contact Us” page, where users fill in their email, subject and text and hit send. Then the email will go to my hard coded yahoo email...
1
by: dtblankenship | last post by:
Hello all, I am creating an application which must send an email once all has been submitted to the user with a confirmation. In my workplace, we're required to use a remote SSL SMTP server to...
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...
4
by: =?Utf-8?B?dHBhcmtzNjk=?= | last post by:
I have a web page that at the click of a button must send a bunch (1000+) emails. Each email is sent individually. I have the code working fine, using Mail Message classes and smtp and all that. ...
2
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used,...
2
by: sam | last post by:
Hi, I made asp.net website. I send e-mail via asp.net page to receiver but receiver cannot get email. I use smartertool Server SMTP. Sending and receiving to localhost is working. Sending...
3
by: =?Utf-8?B?U3JpZGhhcg==?= | last post by:
Hi, I have created a windows application to send the emails. Following is the code I am using. Dim errMsg As String Dim ToAddress As String Dim FromAddress As String Try ToAddress =...
7
by: praveenb000 | last post by:
i write code for sending mail to client's given email addresses. But Im getting following error message The SMTP server requires a secure connection or the client was not authenticated. The...
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
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
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
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 projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.