Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 63084
Status: resolved
Priority: 0/
Queue: Mail-Sender

People
Owner: Nobody in particular
Requestors: ctrix [...] navynet.it
Cc:
AdminCc:

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



Subject: ENVID / ORCPT bug
Date: Wed, 17 Nov 2010 15:08:15 +0100
To: bug-Mail-Sender [...] rt.cpan.org
From: "Massimo \"CtRiX\" Cetra" <ctrix [...] navynet.it>
Hello, in Sender.pm at about line 1068, function _prepare_ESMTP, ENVID and ORCPT parameters are encoded with quoted printable. This is not correct as both parameters should not include (for example the '=' char) (and quoted printable does). The right way is to encode such values is by using XTEXT (See http://tools.ietf.org/html/rfc3461) Of you Open the sender with code like this: $sender->Open( { to => $to, subject => 'Test mail', msg => "I'm sending you the list you wanted.", confirm => "delivery, reading", ESMTP => { NOTIFY => 'SUCCESS,FAILURE,DELAY', RET => 'HDRS', ORCPT => 'this+donot=work@example.com', ENVID => 'iuhsdfobwoe8t237', SIZE => 30000, }, } ); and send the email for example, to postfix, it will be rejected with Show quoted text
>> 501 5.5.4 Error: Bad ORCPT parameter syntax
Thanks, Max
Should be fine in 0.8.22. I do not have a server to test this against though, please let me know!