Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 175217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:39:36+00:00 2026-05-11T13:39:36+00:00

As part of my app’s config process, I have a sanity checker that validates

  • 0

As part of my app’s config process, I have a sanity checker that validates all user-supplied data. This includes email server settings that the app uses to send email.

I’d like a simple sanity check on those settings without actually sending any email. It’d be great if this could support all standard flavors of SMTP setups including those with authentication/ssl/etc.

It doesn’t need to be exhaustive but the more coverage, the better.

Currently all I do is verify I can open a connection to the given server on the given port. Something a little deeper would be nice.

Note: I’m not trying to validate email addresses–that’s not relevant to this question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T13:39:36+00:00Added an answer on May 11, 2026 at 1:39 pm

    You just open a raw connection to the server & port that the user supplies and do a

    HELO Server.Domain.Com Mail From: validaccount@domain.com 

    to see if you get a valid HELO response & Sender OK Response (if smtp authentication is enabled).

    Same as you would do if you telnet direct to the server.

    http://www.petri.co.il/test_smtp_service.htm

    This might also be useful

    http://qmail.jms1.net/test-auth.shtml

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This part of an app that I am working on, I have the following
I have a part of my app that takes a screenshot of a certain
I have built part of my app and wanted to test it out. All
Part of this app is a Scream button that plays random screams from cast
Have a pluggin that is installed as part of an app, the pluggin needs
Basically I have a multi module application: data business web-app in the web-app part
Part of my app is responsible for writing to a feed all the user
As part of our app, user can save some data as XML on server
Part of my app caches web pages for offline viewing. To do that, I
I have written an app and part of it is uses a URL parser

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.