Answer the question
In order to leave comments, you need to log in
How to make your own email newsletter?
Hello, there is such a need to send a lot of messages for email marketing. There is a large base of email subscribers, but as I have already noticed, mailing services are quite expensive and limit the scope. There are knowledgeable people who would throw out a plan of action, basic concepts. The budget is minimal.
Answer the question
In order to leave comments, you need to log in
As the most budgetary and ugly option, you can consider the following:
1. Register an account in gmail, on behalf of which you will send letters.
2. Pick up on your Denver car.
3. Write a simple application (for example, in PHP) that will send your message (the input field for the html code of the letter) to the list of recipients (for example, from a text file) via Google's SMTP.
Once again, I note that the option is ugly and assembled on the knee.
UPD: stamdyscias : Let me write it better here. Suddenly someone else will come in handy.
To send mail, it is convenient to use https://github.com/PHPMailer/PHPMailer
Send code example:
require 'PHPMailer-master/PHPMailerAutoload.php';
$mail = new PHPMailer;
$mail->CharSet = "utf-8";
//$mail->SMTPDebug = 2;
$mail->isSMTP();
$mail->Host = 'smtp.gmail.com';
$mail->SMTPAuth = true;
// От имени кого пишем
$mail->Username = '[email protected]';
// Пароль
$mail->Password = 'secret';
$mail->SMTPSecure = 'ssl';
$mail->Port = 465;
// Адресат
$mail->addAddress('[email protected]');
$mail->isHTML(true);
// Тема
$subj = "Я против спама";
$mail->Subject = $subj;
$mail->Body = "
<h1> Я не люблю спам в почте </h1>
";
if(!$mail->send()) {
echo 'Message could not be sent.';
echo 'Mailer Error: ' . $mail->ErrorInfo;
} else {
echo 'Всё ок!';
return true;
}
Oh listen, everything is cool, but how can I push the html code into the body? Well, there the letter will be formatted like this
Оптимально - аренда почтового сервера (с консультацией, поддержкой). При больших базах дешевле, чем сервисы и ряда ограничений в процессе длительной работы не будет. Если опыта рассылок нет, это оптимальный вариант.
Отслеживайте письма с помощью utm-меток. В качестве компоновщика используйте https://semantica.in/tools/url-builder функционал понятен и школьнику.
Так будет получать всю необходимую информацию о эффективности маил рассылки.
С помощью ePochta Studio от Atompark. Там есть куча настроек, которые позволяют исключить отправку писем в спам (кроме адресов на Gmail, он тупо начинает резать сообщения, если с одного адреса на разные ящики на нем идет больше 5 писем).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question