By Dhinesh6R on
Hi,
In my demo site i need to send a Password reset mail to user.
So i need a mail server. Am using Drupal9.
so which one i need to install "SMTP authentication support or PHPMailer" .
And main thing is how to install it With composer or without composer?
Thanks,
Dhinesh
Comments
None of these are mail servers
Neither SMTP Authentication Support nor PHP Mailer are mail servers, so if you need to install a local mail server, the answer is: None of the above.
The mail server is an extension to the operating system, not Drupal, so to provide more guidance about installing a mailserver, we need to know what operating system your server is running. AFAIK, Drupal will integrate automatically with whatever mail server that exists.
If your operating system is some flavour of Unix or Gnu/Linux, I recommend using Postfix as your local mail server.
It is possible to reset a password for a Drupal website without sending mail. Please take a look at methods 2 and 3 in this guide: http://wikihandbooks.com/drupalnewbies/resetpw.html
- gisle
Error Sending mail
Am getting following error while sending mail
Error sending email (from *****@gmail.com to **@gmail.com with reply-to *****.r@gmail.com).
Thanks.
Do you have a mail server?
There could be a number of things wrong, but the most likely explanation is that Drupal is unable to find a correctly configured mail server.
Have you installed a mail server? If yes, which one?
What type of hosting are you using?
What is the operating system of your webhost?
I want to help you out, but there are a lot unknowns in your webhost and Drupal configuration. That makes it difficult for me (and probably anyone else) to provide a meaningful answer to your many questions here.
I think you need to reconsider your hosting options, and perhaps find a Managed, SaaS or PaaS host. Hosting terminology explained here: http://wikihandbooks.com/webmaster/wm_hosting.html
- gisle
No am not installed any
No am not installed any mailserver in my site.
I think am not using any hosting in my site.
Windows is my Operating System.
Thanks.
Either of them can be used to send mail
through an external mail provider. To be used when your webserver is NOT configured as mail client.
The preferred method is installing with Composer as it makes the dependencies available as well. Some modules allow installation through Ludwig when Composer is not available.
Note that there is also PHPMailer SMTP.
EDIT SMTP to be used when server NOT being configured as mail client. Using SMTP to get mail to a server that is a mail client. When configured as mail client the PHP mail can be used to send mail. Use Google to find popular SMTP mail clients.
Okay, Thanks for your
Okay, Thanks for your valuable answer.
Thanks.