troubleshooting Question

hMailServer Setup for local SMTP only

Avatar of sharpapproach
sharpapproach asked on
ExchangeEmail ServersEmail Protocols
5 Comments1 Solution1286 ViewsLast Modified:
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.Configuration")
    CON.Fields("") = ""  'change to your outbound smtp server
    CON.Fields("") = 25
    CON.Fields("") = 2
    CON.Fields("") = 60
    Set MAIL.Configuration = CON
    MAIL.from = sTo = sFrom
    MAIL.subject = "Testing to wave-data"
    MAIL.TextBody = "Please work.... Oh please work!"
Berkson Wein
Tech Freelancer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros