Exchange won't let me send mail using CDO.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS and SMTP > Exchange won't let me send mail using CDO.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Exchange won't let me send mail using CDO.  
Ken


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-19-04 07:49 AM

Hi All,

I got this bit of code, trying to send mail using an
application i created.

 ========================================
================
Dim mailMsg As New CDO.Message
Dim mailConfig
Set mailConfig = CreateObject("CDO.Configuration")

mailConfig.Fields(cdoSMTPServer) = "localhost"
mailConfig.Fields(cdoSendUsingMethod) =
cdoSendUsingPort
mailConfig.Fields.Update

mailMsg.Configuration = mailConfig
mailMsg.To = i_strTo
mailMsg.From = i_strFrom

mailMsg.Subject = i_strSubject
mailMsg.HTMLBody = i_strBody
If Not i_strAttachment = "" Then

mailMsg.AddAttachment (i_strAttachment)
End If
mailMsg.Send

SendEmail = 1

 ========================================
================

But Exchange won't allow to reply my mail back to my LAN,
I am trying to send email from one computer on our LAN and
hosted to Exchange 2000 to another computer on the LAN.

I have allow email relay on our Exchange to the particular
computer that i use to run my application through the SMTP
Connector/Virtual Server.  But i got an error message
saying that Exchange has refuse to send the email.

Anyone, any ideas?

Thanks

Ken





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:11 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register