I am trying to setup hMailServer to just use SMTP for our internal database. We want to log entries, and want it totally independent of our Exchange Server.
I finally got it installed and the database installed on SQL Server.
however, I am at a loss what settings to setup.
Our network Admin had us using the SMTP that Exchange server uses, but we never know when something isn't sent from our app, etc.
Our VP wants something logged and independent of the Exchange.
I am a DBA, not a mail guru, so can someone give me the quick and dirty settings to set it up? Basically I just need SMTP to send these emails out and want them logged.
We use straight COM components to sent. We are not using any exchange or outlook code. Here is the code:
Dim MAIL, CON
Set MAIL = CreateObject("CDO.Message"
)
Set CON = CreateObject("CDO.Configur
ation")
CON.Fields("
http://schemas.microsoft.com/cdo/configuration/smtpserver") = "192.168.2.91" 'change to your outbound smtp server
CON.Fields("
http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
CON.Fields("
http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
CON.Fields("
http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
CON.Fields.Update
Set MAIL.Configuration = CON
MAIL.from = sTo
MAIL.to = sFrom
MAIL.subject = "Testing to wave-data"
MAIL.TextBody = "Please work.... Oh please work!"
MAIL.Send
ASKER