4

I'm trying to debug how an email invoice looks in ubercart locally. Mail is not configured on my local machine (ubuntu 11.10).

I really would prefer to debug this locally without sending nagging emails to the stakeholders.

Is there anyway to reroute email output to the watchdog log?

1

2 Answers 2

4

Yes, you can use the Maillog / Mail Developer module.

Maillog provides an easy possibility to log all Mails for debugging purposes. It's possible to prevent the mails to being sent, so there is no need for an extra mail server to test the mail functionality of other modules or the Drupal core. Additionally you can immediately display the mail through the devel dpm() facility.

1

You could use

http://www.toolheap.com/test-mail-server-tool/

It will listen to port 25 and save emails to files and optionally open them in your local email client

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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