Installed module. Set up an action to send an email, and a trigger for when a comment is left.

Left a comment and instantly crash with the error Fatal error: Call to undefined function drupal_mail_wrapper() in /var/www/html/drupal-6/includes/mail.inc on line 177

I was leaving the comment as an anonymous user.

Comments

Anonymous’s picture

Assigned: Unassigned »

Thanks for telling me. I'll try and get this fixed ASAP

Anonymous’s picture

Unable to replicate problem. I set up Drupal 6 with MySQL and created at trigger to send an email when a comment was posted. Advanced Mail Reroute module rerouted email as I specified in the reroute rules table.

Please provide me with more info on how I can replicate this problem. Also, if you have time, a patch would be very welcome or some information about where the problem lies in my module.

Cheers.

R.Hendel’s picture

Hi,
in my experience this error happens always on every new installation for a single time. I configure Mail-Settings and send test-mail in one combined stap. Simply reloading the page works. So I think this is not a serios problem...
Best regards,
Ralf

wuinfo - bill wu’s picture

Issue summary: View changes

Did you uninstall smtp module after you disable it?

Remove the smtp module by uninstall it after you disable it. Or remove the smtp's module's file completely.