All Questions
2 questions
0
votes
1
answer
371
views
How to write a simple test case for users by using drupal_mail() function?
I have written a custom module for sending email to registered users.
And I want simple test case for that users email module.
In this module I am taking a user from database and selected users ...
3
votes
1
answer
343
views
How to inspect outgoing email content during a SimpleTest?
I see that SimpleTest has a few built in mail functions to check for send success etc, but how can I send a message, assert its content and then click a link within that content during a test?
What ...