A
A
Anton Peat2014-12-08 00:25:10
Email
Anton Peat, 2014-12-08 00:25:10

What are the alternative ways to send mail from the site?

The question is in the title.
On the hosting, sending mail was blocked, and it is essential for automating the site (account confirmation, etc.). Tried scripts mail(); and send smtp - didn't help...
Are there any solutions through some third-party resources, for example, make a request to some site with send parameters and have it do it?
Mb there are other options?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Lashchevsky, 2014-12-08
@Alexanevsky

What is meant by sending mail from the site?
Feedback form?
Sending / receiving mail on behalf of the site [email protected]?
Sending emails to users, all sorts of registration notifications, password recovery and more?
Here's something to think about...

H
Hazrat Hajikerimov, 2014-12-08
@hazratgs

Mandrill

<?php
                  include_once "swift_required.php";
                                
                  $transport = Swift_SmtpTransport::newInstance('smtp.mandrillapp.com', 587);
                  $transport->setUsername($MANDRILL_USERNAME);
                  $transport->setPassword($MANDRILL_PASSWORD);
                  $swift = Swift_Mailer::newInstance($transport);
                
                ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question