M
M
mr_drinkens892015-04-11 23:57:39
Apache HTTP Server
mr_drinkens89, 2015-04-11 23:57:39

How to make a newsletter from the site?

Hello.
There was a need for mailings from the site to registered users.
I know that there are services that competently send mail and guarantee delivery, but I would like to have my own mailer.
At the moment, from the technical side, everything is implemented (django, celery).
What are the rules for mailing? How can I prevent emails from going to spam?
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Taran, 2018-03-24
@shambler81

If there is an index.php in the line
And if there is a get request starting with escaped z, moreover, you don’t need to escape it
Then redirect everything to the main page and remove the get parameters
As we can see, this rule is far from what you wanted.
I offer you this option
#### ################################################### ######################
#### Remove index.php if it is at the end of the URL ####
######### ################################################### #################
RewriteCond %{REQUEST_METHOD} =GET
# Detect GET request in URL (not POST).
RewriteCond %{REQUEST_URI} ^(.*)/index\.php$
# URL contains index.php at the end.
RewriteRule ^(.*)$ %1/ [R=301,L]
# Remove index.php from URL.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question