Mail error: unable to send email. Contact the site administrator
2013 31 Oct

Mail error: Unable to send e-mail. Contact the site administrator if the problem persists.

There is a solution to fix this problem for Ubuntu users. If your Ubuntu has not been setup correctly and you call drupal_mail or PHP mail function, you will be getting the following error: Unable to send e-mail. Contact the site administrator if the problem persists.

To fix this problem you have to install postfix and configure it. Simply, installing postfix won't solve the problem. To install postfix refer to this stackoverflow answer To configure postfix refer to thislink. Or you can simply run

  1. dpkg-reconfigure postfix

and configure postfix correctly. Make sure you have not blocked 127.0.0.1 IP address that is the IP address of localhost Now you can easily send email using drupal_mail or PHP mail function.

Latest Blogs

Digital Public Goods Alliance Strategy 2021–2026

Boosting Digital Infrastructure with Digital Public Goods

The United Nations (UN) defines a roadmap for Digital Public Goods (DPGs) as open-source software, open data, open AI models, open standards, and open content.

Read More

Best Practices for Software Testing

Power of Software Testing: Why Software Teams Use It Effectively

In the modern digital era, where software is used in nearly every aspect of everyday life, the importance of software testing cannot be emphasized.

Read More

Benefits of Programmatic SEO Implementation

What It Is and How to Implement It How SEOs Make the Web Better

In the rapidly evolving field of SEO, staying ahead of the curve necessitates adopting new strategies and utilizing technology.

Read More

Unlocking the potential of SEO for boosting business

Branding With SEO: Boost brand Visibility, credibility, and Engagement With An SEO Strategy

Many people think that the primary function of search engine optimization is to garner organic traffic on a website; however, it is beyond that.

Read More