How to Prevent Email Recipients from Replying to the Sender?

Hi,

I am currently working on an application which emails its users of status updates.

In a properties file within the application is where I specify the following:

1. SMTP email server host name

2. Sender's name

3. Sender's email address

Emails are being sent out whenever there are status updates, but how do I prevent users from replying back to the Sender's email address?

I do not want users to send emails to the Sender's email account.

Any help on this would be greatly appreciated.

Thanks,

Nancy

2 Replies

Change the sender address to something else, say, "do-not-reply@yourdomain".

(You can't stop people from doing something, because they have free will! But if you don't want them using an email address, don't give them that address in the first place.)

Most applications have support for a "reply-to" address. If a user hits reply this address will be used instead of the "from" address.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct