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

  • Home
  • SEARCH
  • 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 43759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:32:45+00:00 2026-05-10T15:32:45+00:00

When developing an application that sends out notification email messages, what are the best

  • 0

When developing an application that sends out notification email messages, what are the best practices for

  1. not getting flagged as a spammer by your hosting company. (Cover any of:)
    • best technique for not flooding a mail server
    • best mail server products, if you were to set up your own
    • sending messages as if from a specific user but still clearly from your application (to ensure complaints, etc come back to you) without breaking good email etiquette
    • any other lessons learned
  2. not getting flagged as spam by the receiver’s client? (Cover any of:)
    • configuring and using sender-id, domain-keys, SPF, reverse-dns, etc to make sure your emails are properly identified
    • best SMTP header techniques to avoid getting flagged as spam when sending emails for users (for example, using Sender and From headers together)
    • any other lessons learned

An additional requirement: this application would be sending a single message to a single recipient based upon an event. So, techniques for sending the same messages to multiple recipients will not apply.

  • 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-10T15:32:45+00:00Added an answer on May 10, 2026 at 3:32 pm

    best technique for not flooding a mail server

    not a lot you can do about this beyond checking with your mail server admin (if it’s a shared hosting account / not in your control). but if the requirement is one email to a single recipient per event, that shouldn’t be too much of an issue. the things that tend to clog mail systems are emails with hundreds (or more) of recipients.

    if you have events firing off all the time, perhaps consider consolidating them and having an email sent that summarizes them periodically.

    sending messages as if from a specific user but still clearly from your application (to ensure complaints, etc come back to you) without breaking good email etiquette

    you can accomplish this by using the ‘Reply-To’ header, which will then have clients use that address instead of the From address when an email message is being composed.

    you should also set the ‘Return-Path’ header of any email, as email without this will often get filtered off.

    ex.

    From: me@me.com Return-Path: me@me.com Reply-To: auto@myapp.com 

    configuring and using sender-id, domain-keys, SPF, reverse-dns, etc to make sure your emails are properly identified

    this is all highly dependent on how much ownership you have of your mail and DNS servers. spf/sender-id etc… are all DNS issues, so you would need to have access to DNS.

    in your example this could present quite the problem. as you are setting mail to be from a specific user, that user would have to have SPF (for example) set in their DNS to allow your mail server as a valid sender. you can imagine how messy (if not outright impossible) this would get with a number of users with various domain names.

    as for reverse DNS and the like, it really depends. most client ISP’s, etc… will just check to see that reverse DNS is set. (ie, 1.2.3.4 resolves to host.here.domain.com, even if host.here.domain.com doesn’t resolve back to 1.2.3.4). this is due to the amount of shared hosting out there (where mail servers will often report themselves as the client’s domain name, and not the real mail server).

    there are a few stringent networks that require matching reverse DNS, but this requires that you have control over the mail server if it doesn’t match in the first place.

    if you can be a bit more specific i may be able to provide a bit more advice, but generally, for people who need to send application mail, and don’t have a pile of control over their environment, i’d suggest the following:

    • make sure to set a ‘Return-Path’
    • it’s nice to add your app and abuse info as well in headers ie: ‘X-Mailer’ and ‘X-Abuse-To’ (these are custom headers, for informational purposes only really)
    • make sure reverse DNS is set for the IP address of your outgoing mail server
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 104k
  • Answers 104k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Yes, but you might consider creating a new querydef for… May 11, 2026 at 8:34 pm
  • Editorial Team
    Editorial Team added an answer No there's not an easier way. I guess that way… May 11, 2026 at 8:34 pm
  • Editorial Team
    Editorial Team added an answer Looking the code of typeWatch version 2.0 I found this:… May 11, 2026 at 8:34 pm

Related Questions

This is a problem I'm sure is easy to fix, but I've been banging
I am developing an application that loads images and video into a Flash player
I am developing a Java web application that bases it behavior through large XML
I am working on developing an on-screen keyboard with java. This keyboard has a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.