Not able to send mail from Exchange Server using Drupal form

unable to send mail from Drupal using Exchange server

add that particular user as member of ExchangeLegacyInterop Groups

We shifted our mail server from a pop3 server to in-house exchange server and after that we faced few issue in different zones one of them is Mail sending from Drupal. My team members were able to send mail using pop3 settings earlier but they were not able to send mail using exchange setting.

They used Gmail smtp setting and they were able to send mail using Gmail. I tested it with other vs.net code and I found I am able to send mail using vs.net code so ultimate result was it’s a compatibility issue between exchange server and Drupal.

I tested sending mail with account that has full permission, that particular account was member of each group and I was able to send mail using that ID. I tried sending mail with other users and Identified I am not able to send mail even when that user is Administrator group member. Then I started adding exchange related groups one by one in a test user account and tested if I am able to send mail now or not.

After few attempt I found this user must need to be member of ExchangeLegacyInterop group to send mails using Drupal. I added this user in ExchangeLegacyInterop Group and after that I can send and mail using Drupal form or code to any ID.

So end result is if you want to send mail from Exchange Server using Drupal you need to add that particular user in ExchangeLegacyInterop Group.

Please understand I had a previous exchange 2007 server in my environment and this issue may occur due to that also so if it do not work for you than do let me know.

I hope it was useful for you and thanks for being here

Thanks and regards

AP Dubey

Read More......
Clicky Web Analytics