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

UX/UI Synergy: Harmonizing Design for Success

The UX/UI Synergy: Harmonizing Design for Success

In the development and designing world, both UX and UI are the most commonly used terms for web and app designing.

Read More

Smart Website Design Fuels Business Growth

How Smart Website Design Fuels Business Growth ?

No doubt! With many people using the internet for business and information, owning a website has become more important than ever.

Read More

Top Trends in iOS Development Languages

Top Trends in iOS Development Languages: What's Next?

iOS development is always an exciting field; however, with millions of applications in the Apple Store, it is reaching an all-time high.

Read More

how to design a website

How to Design a Website: 8 Steps to Creating an Effective Site Design

In this day and age, having a website for a business is crucial to succeed.

Read More