Answer the question
In order to leave comments, you need to log in
How to send emails from a site created on Wordpress?
Hello!
There is a site on WordPress.
URL: stud.example.edu.ru , where example.edu.ru is a separate site
Operating system: Ubuntu 14
Problem:
An
email is sent to clients right in the php code of the site. I'm using the standard php mail() function;
The letter is sent all right. But if you try to send an email to [email protected],
nothing happens.
Here is a simplified version of the code:
$email_addresses = ['[email protected]' , '[email protected]','[email protected]' , '[email protected]' ] ;
foreach($email_addresses as $addres){
mail($addres,'Congratulation' , 'blah-blah-blah');
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question