Avatar of sharpapproach
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") = "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
ExchangeEmail ProtocolsEmail Servers

Avatar of undefined
Last Comment
Berkson Wein
ASKER CERTIFIED SOLUTION
Avatar of Berkson Wein
Berkson Wein
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of sharpapproach
sharpapproach

ASKER

We used a different route and setup through another Exhcange server.  You can close this please
Avatar of Berkson Wein
Berkson Wein
Flag of United States of America image

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

ASKER

There is no close button.
Avatar of Berkson Wein
Berkson Wein
Flag of United States of America image

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

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.

213K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo