Skip Menu |

This queue is for tickets about the MailTools CPAN distribution.

Report information
The Basics
Id: 36834
Status: resolved
Priority: 0/
Queue: MailTools

People
Owner: Nobody in particular
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Not sure if that's just me but I often find myself developing sites on local boxes where there is not sendmail or anything which troubles my tests. My wishlist would be an option to the constructor, e.g. ( test_file => 'mail.txt' ) and when the module sees that option instead of sending an email it would create that file and write the email message into that file. This way I would find it must easier to test/debug the product without sending out any emails. When test are all OK one could simply delete that option from the constructor. I can help if you need any help with this feature. Thanks.
Subject: Re: [rt.cpan.org #36834]
Date: Wed, 18 Jun 2008 16:06:36 +0200
To: Zoffix Znet via RT <bug-MailTools [...] rt.cpan.org>
From: NLnet webmaster <webmaster [...] nlnet.nl>
* Zoffix Znet via RT (bug-MailTools@rt.cpan.org) [080618 13:57]: Show quoted text
> My wishlist would be an option to the constructor, e.g. ( test_file => > 'mail.txt' ) and when the module sees that option instead of sending an > email it would create that file and write the email message into that file.
Your wish is already available. See Mail::Mailer::testfile. Of course, it is simple to create a smarter back-end... feel invited to contribute. -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net