K
K
krotish2012-03-05 10:47:51
Fight against spam
krotish, 2012-03-05 10:47:51

Emails from the site: in spam?

Good day, habr.
For the hundredth time, affecting letters from the site and getting into spam. habrahabr.ru/qa/14954/ - read. and links below too. However, there is a question:
The site has a form
where the sender of the message enters his email, name and message.
the message is sent to the administrator. administrator's mail - on Google.
In the From field, enter the email that the sender specified. Let's say [email protected]
Accordingly, all letters end up in the spam folder. Which is not very convenient.
I see one solution to the problem: make sure that all emails come from [email protected] Then they won't go to spam. But answering them will not be very convenient.
How to be in this situation? So that all the same, letters were sent with the email substituted in the “From:” field, which the person indicated when filling out the form on the site and they did not fall into spam.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
V
VeMax, 2012-03-05
@VeMax

And if you specify in the Reply-To the address to whom to reply?

C
charon, 2012-03-06
@charon

> So that all the same letters are sent with the email substituted in the “From:” field, which the person indicated when filling out the form on the site and they did not fall into spam.
It won't work at all. If you want to understand, read DKIM, SPF. In short, the bottom line is that letters from a certain domain can be sent ONLY from a small number of servers, everything else is considered spam.

N
Nicholas, 2012-03-05
@pnick

Set up filtering "if the sender's address is such and such, do not send to spam"?

V
Vitaly Yushkevich, 2012-03-05
@yushkevichv

And if you set a Subject and put filtering on it?

I
Iskander Giniyatullin, 2012-03-06
@rednaxi

As an option, store all requests in the database, and write in From not [email protected], but [email protected], where 123 is the request ID, and set up a script that will process letters from the no mailbox -reply and forward to where you want.
And the administrator's letters will not fall into spam, and it will be convenient to answer.
But in general, the solution with reply-to seems to me ideologically more correct.

Z
zerkalka, 2012-03-06
@zerkalka

It's not about how to send letters and what to substitute in the "from" field.
We have already said above - use SPF
in the DNS panel of your domain, add SPF records.
Google has detailed instructions on how to do this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question