Skip Menu |

This queue is for tickets about the MIME-Lite CPAN distribution.

Report information
The Basics
Id: 52429
Status: new
Priority: 0/
Queue: MIME-Lite

People
Owner: Nobody in particular
Requestors: ASB [...] cpan.org
Cc:
AdminCc:

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



Subject: odd send_by_testfile behavior
Hi! This is currently in the pod: [quote] send_by_testfile FILENAME Instance method. Print message to a file (namely FILENAME), which will default to mailer.testfile If file exists, message will be appended. [/quote] With the current implementation of send(), this doesn't work when FILENAME is not given. send() will then default to smtp. The high end solution to this would be a propper dispatching to the possible sending methods. As this might be time expensive, the solution I propose is to make FILENAME required. The usage of send() using filename would then be: send('filename', 'my_testfile.txt'); So please exchange the pod of send_by_testfile with the following: [quote] send_by_testfile FILENAME Instance method. Print message to a file (namely FILENAME). FILENAME is required. If file exists, message will be appended. [/quote] Btw, the part "Sending" omitts the possibility to send into a testfile, telling "only" about the methods of sendmail, smtp and a subref. best regards, Alex