Skip Menu |
 

This queue is for tickets about the MailTools CPAN distribution.

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

People
Owner: Nobody in particular
Requestors: rg [...] progtech.net
Cc:
AdminCc:

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



Subject: Caching mailaddress is problematic when sending as multiple senders
Download (untitled) / with headers
text/plain 626b
I have a script that is using MIME::Entity (which uses MailTools to actually send the mail) to send mail through various mail servers with varying from addresses. The envelope from is taken from the result of calling Mail::Util::mailaddress. Unfortunately, some of those mail server insist that I use an envelope from that matches their mail domain, so I need to adjust it depending on the server I'm using. However, the mailaddress function caches the value it determined on first use. Please provide a way to either clear this cached value, explicitly set the returned value or don't cache the value at all. Thanks, Rolf.
Subject: Re: [rt.cpan.org #75975] Caching mailaddress is problematic when sending as multiple senders
Date: Tue, 10 Apr 2012 21:58:05 +0200
To: Rolf Grossmann via RT <bug-MailTools [...] rt.cpan.org>
From: Mark Overmeer <secretaris [...] nluug.nl>
Download (untitled) / with headers
text/plain 1.3k
* Rolf Grossmann via RT (bug-MailTools@rt.cpan.org) [120322 13:39]: Show quoted text
> Thu Mar 22 09:39:46 2012: Request 75975 was acted upon. > Transaction: Ticket created by rg@progtech.net > Queue: MailTools > Subject: Caching mailaddress is problematic when sending as > multiple senders > Broken in: 2.08 > Severity: Normal > Owner: Nobody > Requestors: rg@progtech.net > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=75975 > > > > I have a script that is using MIME::Entity (which uses MailTools to > actually send the mail) to send mail through various mail servers with > varying from addresses.
Spam? Show quoted text
> The envelope from is taken from the result of > calling Mail::Util::mailaddress. Unfortunately, some of those mail > server insist that I use an envelope from that matches their mail > domain, so I need to adjust it depending on the server I'm using. > However, the mailaddress function caches the value it determined on > first use.
Circumvent defense against spam? -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Download (untitled) / with headers
text/plain 105b
Sending the previous mail has failed. Please contact your admin, they can find more details in the logs.
Download (untitled) / with headers
text/plain 105b
Sending the previous mail has failed. Please contact your admin, they can find more details in the logs.
v2.10 has Mail::Util::mailaddress($newaddress)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.