Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance forum
Viewing all articles
Browse latest Browse all 9032

How to configure EX2013 so I can send SMTP email from our web server?

$
0
0

I have created an online form on our web server (we host our email server and website).  When I select "Submit" I'd like to use a non-existant email address (i.e. webmail@myDomain.com) to send the form because I don't want to monitor this account.  I haven't been successful!

If I enter in a valid email account (mailer@myDomain.com and password) in the asp code, it is successful.

My Code:

' Owner Email: cdosys
objCDOSYSCnfg.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "myDomain.com"
objCDOSYSCnfg.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
objCDOSYSCnfg.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
objCDOSYSCnfg.Fields("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
' The username for authenticating to an SMTP server
'objCDOSYSCnfg.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = "mailer@myDomain.com"
' The password used to authenticate to an SMTP server
'objCDOSYSCnfg.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "myPassword"
objCDOSYSCnfg.Fields.Update


Do I need to add something on the exchange server (i.e. receive connector) in order to get this working with just a non-existant email address? 


PennyM


Viewing all articles
Browse latest Browse all 9032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>