Skip Menu |

This queue is for tickets about the Mail-Box CPAN distribution.

Report information
The Basics
Id: 97636
Status: resolved
Priority: 0/
Queue: Mail-Box

People
Owner: Nobody in particular
Requestors: andy [...] andybev.com
Cc:
AdminCc:

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



Subject: Allow default sender to be specified for Mail::Transport::SMTP
Date: Wed, 30 Jul 2014 23:07:37 +0100
To: Bugs in Mail-Box via RT <bug-Mail-Box [...] rt.cpan.org>
From: Andrew Beverley <andy [...] andybev.com>
It would be useful to be able to specify the default sender when initialising a Mail::Transport::SMTP object (in much the same way as it is possible for Mail::Transport::Sendmail using sendmail_options). The attached patch adds support (patched against bug 97630).

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #97636] Allow default sender to be specified for Mail::Transport::SMTP
Date: Mon, 4 Aug 2014 09:57:01 +0200
To: Andrew Beverley via RT <bug-Mail-Box [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* Andrew Beverley via RT (bug-Mail-Box@rt.cpan.org) [140730 22:08]: Show quoted text
> Wed Jul 30 18:08:07 2014: Request 97636 was acted upon. > Transaction: Ticket created by abeverley > Queue: Mail-Box > Subject: Allow default sender to be specified for Mail::Transport::SMTP > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97636 > > > + $self->{from} = $args->{from};
(also for the other patch: in Mail::Box, the object attributes field names in $self start with an abbreviation of the class name, so here + $self->{MTS_from} = $args->{from}; Accepted -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net