Avatar of sharpapproach
 asked on

hMailServer Setup for local SMTP only

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("http://schemas.microsoft.com/cdo/configuration/smtpserver") = ""  '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
    Set MAIL.Configuration = CON
    MAIL.from = sTo
    MAIL.to = sFrom
    MAIL.subject = "Testing to wave-data"
    MAIL.TextBody = "Please work.... Oh please work!"
ExchangeEmail ProtocolsEmail Servers

Avatar of undefined
Last Comment
Berkson Wein

8/22/2022 - Mon
Berkson Wein

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

We used a different route and setup through another Exhcange server.  You can close this please
Berkson Wein

(you should be able to put in a close request by clicking the appropriate button below)

There is no close button.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
Berkson Wein

accept one of your answers as the answer.  that won't award me any points and will have the mods close this.