Skip to main content
Share Your Experience: Take the 2024 Developer Survey
26 votes
Accepted

Password reset email that is not considered spam

There is no magic bullet here. What's surprising to me is it's not the big orgs that are intercepting your email. I've found Google very prone to intercepting these kinds of emails. A few things to ...
GrandmasterB's user avatar
  • 39.2k
9 votes

Password reset email that is not considered spam

You have low delivery rate for your messages. This is a non-trivial problem. Profitable services like Mailchip, Brevo, and Constant Contact are happy to accept compensation in return for solving it. ...
J_H's user avatar
  • 7,156
8 votes

Reasons NOT to use email for system integration

How do I nicely explain to a customer that if the message is really critical and time sensitive then email (SMTP) is NOT the way to do it. By knowing why it's not. Name one real need that the email ...
candied_orange's user avatar
8 votes
Accepted

End to end email tests

Yes, it makes sense to test emails like that, especially if they are a crucial component of your system. Of course, a failed test could still mean that there is nothing wrong with the application but ...
Glorfindel's user avatar
  • 3,147
7 votes

Should I fix known bad domains in user emails?

If you have control over where you get your email addresses from, I think it would be better to check this on the client side and ask them to verify the email is correct when you detect one of these ...
Nathanael 's user avatar
7 votes
Accepted

What is email ingestion and are there modern uses for that technology?

Email ingestion is reading emails from an inbox and processing them. It is used to achieve a degree of automation between two companies, where neither company wants to go through the time and expense ...
Robert Harvey's user avatar
6 votes
Accepted

Finding duplicate email addresses. How heavily should I normalize them?

Based on additional information in the comments I would advise that you don't attempt to normalize at all except for domains where you know you can do so safely. If gmail document that they violate/...
James Snell's user avatar
  • 3,158
6 votes
Accepted

How to refer to an e-mail in source code comment

I would recommend creating an issue in a defect tracking tool like Jira and referring to the Jira issue rather than the originating email in your code comments. This will pick up any work that has ...
kiwiron's user avatar
  • 2,338
5 votes

How to keep logs of emails sent by application

This question I am thinking to clean records which are 3 months old. Is this a right approach? is a question about your companies requirements. It has probably a lot of legal aspects, like the ...
Doc Brown's user avatar
  • 209k
5 votes
Accepted

Should I fix known bad domains in user emails?

On it's own, tt's a pretty bad idea ***@gmail.com and ***@gmal.com might both be valid emails and not belong to the same person. One argument in favour is: an attacker could register for common ...
RMalke's user avatar
  • 727
5 votes
Accepted

Is there existing technology write code to be executed in response to an email being sent for a certain email?

Common e-mail server software (postfix, sendmail, presumably exim but I didn't check that one) supports forwarding to programs via pipes, so this isn't esoteric at all. Ticketing systems such as ...
Hans-Martin Mosner's user avatar
5 votes
Accepted

How to randomly allocate a set of IDs digitally, one ID per person, such that everyone knows that the particular allocations are kept private?

I think the easiest way to achieve this is by having a trusted third-party, let's call it a trust center, who does the random assignments. Lets say you pick all the UUIDs first, encrypt them with a ...
Doc Brown's user avatar
  • 209k
4 votes
Accepted

What is the best approach for PHP mail templates

There's no single explicit approach here for making "perfect" mail templates, as everything depends on the complexity of your templates and scalability you want to achieve. Through my experience, I'...
Farside's user avatar
  • 158
4 votes
Accepted

What is an email payload?

19.1.1. email.message: Representing an email message An email message consists of headers and a payload (which is also referred to as the content). Headers are RFC 5322 or RFC 6532 style field names ...
Robert Harvey's user avatar
4 votes
Accepted

Architectural principles for creating a large-scale email server that doesn't get blacklisted

As the comments have said, there is no technical solution to this. Your server needs to build a reputation as being trustworthy. As a mail admin at a small/medium sized church mail server (so we're ...
Hans-Martin Mosner's user avatar
4 votes
Accepted

DIY email service vs MailChimp and pals

It depends on your scale and how critical the email is to your work. If you are low scale, and are fine spending a bit of time maintaining it then it can make sense to DIY. In general though, the ...
Telastyn's user avatar
  • 109k
4 votes
Accepted

Does POP suffer from any inherent security problems

After a quick glance at the Wikipedia Article, yes, I would say that there are some security concerns with the protocol: The use of TLS is optional and negotiated between client and server. So is the ...
Michael Borgwardt's user avatar
4 votes

How to refer to an e-mail in source code comment

Bad idea overall. Email is ephemeral. People not in the recipient list would have no idea what is being referred to, and in time the mail archives are gone from servers and peoples' computers, losing ...
jwenting's user avatar
  • 9,783
3 votes

Are international UTF-8 e-mail addresses a thing or not?

I share MrSMith42's experience that anytihn outside of the most simple email has a hard time getting used in many systems that currently exist, however I disagree with their assesment. As it stands ...
TurtleKwitty's user avatar
3 votes
Accepted

A way to communicate between 100 clients on low budget

Its the classic triangle problem. you want: cheap fast and reliable But you have to sacrifice at least one. reliability: You could sneakily use other peoples bandwidth by leveraging free tier ...
Ewan's user avatar
  • 76.4k
3 votes

Reasons NOT to use email for system integration

I agree with everything CandiedOrange mentioned (including the how to explain x to y comment). It's all about the clients needs. I've built systems that rely on smtp email. It works fine and it suited ...
smoksnes's user avatar
  • 473
3 votes

How to create an automated email in several languages (multipart/alternative)?

There is now a MIME multipart type especially for this purpose: multipart/multilingual, defined in RFC 8255. I do not know how well supported this type is by mail clients, although I have found at ...
equaeghe's user avatar
  • 131
3 votes
Accepted

Sending JSON in body of an email

This is a slightly creative architecture, but generally fine. Some caveats: Email is notoriously unreliable: emails may arrive delayed, out of order, or not at all. Emails are not necessarily ...
amon's user avatar
  • 134k
3 votes

Sending JSON in body of an email

JSON in the email body is problematic. Mostly because it’s between hard and impossible to guarantee that an email body isn’t modified by anyone. JSON in an attachment is just fine, especially if you ...
gnasher729's user avatar
  • 45.7k
3 votes
Accepted

Where should email notification logic go?

Follow the data First what are you trying to achieve? You are wanting to consume some data X and apply some behaviour (format and send an email). It doesn't matter that you are sending an email, this ...
Kain0_0's user avatar
  • 16.2k
2 votes
Accepted

How to make an application only accessible to those with a college/university email

Yep. Send confirmation codes, activation links, or whatever only to .edu addresses -- and other specific, whitelisted addresses or domains as-needed for development, testing, administration, etc.
svidgen's user avatar
  • 14.7k
2 votes
Accepted

Queuing emails in Laravel when using an api driver such as Mailgun?

Update: Originally I wrote this answer recommending a queue on your side, but I had thought this other queue was also on your servers, inside your network. I just realized Mailgun appears to be an e-...
Greg Burghardt's user avatar
2 votes

Do all email clients (Yahoo, Gmail, Outlook, etc) always send emails in multi-mime format and include a plain text version of the body?

With the large variety of mail clients that exists, you can never be 100% sure of anything being consistent across them all, and even less if the behavior is not mandated by a standard (and the ...
Bart van Ingen Schenau's user avatar
2 votes

Where to store side effect state in an event sourcing system

It's pretty common to keep track of both Attempts and Acknowledgments at the client. Acknowledgments, of course, because you don't want to pollute the network with requests that have already been ...
VoiceOfUnreason's user avatar
2 votes

How far we have to consider the plug-ability while designing an email service using external library

I assume that you want to implement email service for your already existing application. Your application don't need to care about smtp or other email protocols, what it should care is just ...
Fabio's user avatar
  • 3,126

Only top scored, non community-wiki answers of a minimum length are eligible