473,387 Members | 1,582 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,387 software developers and data experts.

SMTPMail - Relay Authentication

a
Hi gang,

Is there anyway to authenticate to the SMTP Server before attempting to
send? I have 2 servers in my domain, on for email (SERVER2 - MS
EXCHANGE - W2K3) and one for web (SERVER1 - W2K3). The SERVER1 can send
mail internally using the SMTP server on SERVER2, but it can't send outgoing
mail that is external to our organization.

Any ideas?

Thanks!

Kevin
Nov 20 '05 #1
4 1153
Cor
Hi A,

A very intresting link about this
http://msdn.microsoft.com/library/de...vr_cdo_top.asp

I got it from Jay B.

Cor

Is there anyway to authenticate to the SMTP Server before attempting to
send? I have 2 servers in my domain, on for email (SERVER2 - MS
EXCHANGE - W2K3) and one for web (SERVER1 - W2K3). The SERVER1 can send
mail internally using the SMTP server on SERVER2, but it can't send outgoing mail that is external to our organization.

Nov 20 '05 #2
Yes, when you connect, you have to issue the EHLO command. I have an
ActiveX SMTP control that works nicely for both Exchange and SendMail 8.x
It's at http://www.tiberiansun.us/Projects I've never gotten the built-in
stuff (CDONTS) to work, so this was my solution after "telneting" to the
SMTP server.

HTH
Sueffel
"a" <a@a.com> wrote in message news:OT**************@TK2MSFTNGP10.phx.gbl...
Hi gang,

Is there anyway to authenticate to the SMTP Server before attempting to
send? I have 2 servers in my domain, on for email (SERVER2 - MS
EXCHANGE - W2K3) and one for web (SERVER1 - W2K3). The SERVER1 can send
mail internally using the SMTP server on SERVER2, but it can't send outgoing mail that is external to our organization.

Any ideas?

Thanks!

Kevin

Nov 20 '05 #3
Hi, someone maybe "a"

Thanks for you posting in the group!

We will look into it and reply with more information here.
Please post here if you have any more concerns.
Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

Nov 20 '05 #4
Hi,

Based on my research, the current implementation of SmtpMail does not
support SMTP authentication.
You may try to use an third party component as a workaround.
http://www.smtpdotnet.com/

You may also take a look at the link below.
http://groups.google.com/groups?hl=e...readm=QTGSYvNJ
DHA.1640%40cpmsftngxa06.phx.gbl&rnum=2&prev=/groups%3Fq%3Dsmtpmail%2Bauthent
ication%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den

If you have any concern on this issue, please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #5

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

Similar topics

4
by: bonbon | last post by:
I used SmtpMail class sent email in asp.net before, no problem. Now I moved to Windows XP and Visual Studio .NET 2003. My ASP.NET app can not send out any email. The following exception is thrown:...
2
by: Leonard | last post by:
I am using SmtpMail on a couple of ASP.NET pages. When mail is sent to an address outside the domain I get the "Could not access 'CDO.Message' object." error message. I have looked in the...
3
by: JJBW | last post by:
Hi I am having a bit of a problem with SmtpMail. I have a bit of code that should send an email but when it is executed no email turns up. MailMessage mmNotify = new MailMessage(); ...
1
by: Jens Øster | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
3
by: Jens | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
2
by: T.Archer | last post by:
The host a client wants to use requires authentication to relay messages. How do I set the authentication (username/password) before using the smtpmail.send(mailmessage) method? Surely this...
6
by: JIM.H. | last post by:
Hello, I am using SmtpMail.Send() and I get the following message The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for myMail@hotmail.com...
2
by: kmbarz | last post by:
I'm trying to expand my horizons here by working through an ASP.Net book. When I do the example that uses: Line 55: Mail.From = "feedback@graymad.com" Line 56: ...
14
by: supz | last post by:
Hi, I use the standard code given below to send an email from an ASP.NET web form. The code executes fine but no Email is sent. All emails get queued in the Inetpub mail queue. I'm using my...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.