-2

I am using drupal on local machine .I am getting this error as Error : Unable to send email

The below is the report. enter image description here

2
  • why negative. Is this such a bad question
    – gokul
    Commented Dec 22, 2019 at 19:31
  • 1
    Welcome to Drupal Answers! :-) Please edit your question and include the steps we need to do to reproduce this error. We don't know your setup, your Drupal and what mails you are talking about. Many thanks
    – leymannx
    Commented Dec 23, 2019 at 14:44

1 Answer 1

2

I guess negative because the post lack of details. Including Drupal Core version (6, 7, 8, 9 ?), name of the modules used to send mails (and it's version), which are required to provide some help/assistance, excpectally if you're not very familliar with Drupal :)

You're saying running the site under local environment, does it provide a mail-sender ? If not, mails can't be sent, then Drupal tell you "Mails can't be send". Nothing more.

If your env is providing a sender, please check if that one is properly configured to send mails (you can found various one-line-commands to check that point)

And then, if both of previous tests were successful, check under Drupal settings if you haven't misspelled a port or a service name (postfix, sendmail ...)

1
  • thanks Ben for your answer. I havent done anything to set up to provide mail-sender
    – gokul
    Commented Dec 23, 2019 at 18:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.