![]() |
![]()
| ![]() |
![]()
NAMEMail::Verp - encodes and decodes Variable Envelope Return Paths (VERP) addresses. SYNOPSISuse Mail::Verp; #Using class methods #Change separator to something else Mail::Verp->separator('+'); #Create a VERP envelope sender of an email to recipient@example.net. my $verp_email = Mail::Verp->encode('sender@example.com', 'recipient@example.net'); #If a bounce comes back, decode $verp_email to figure out #the original recipient of the bounced mail. my ($sender, $recipient) = Mail::Verp->decode($verp_email); #Using instance methods my $verp = Mail::Verp->new(separator => '+'); #Create a VERP envelope sender of an email to recipient@example.net. my $verp_email = $verp->encode('sender@example.com', 'recipient@example.net'); #Decode a bounce my ($sender, $recipient) = $verp->decode($verp_email); ABSTRACTMail::Verp encodes and decodes Variable Envelope Return Paths (VERP) email addresses. DESCRIPTIONMail::Verp encodes the address of an email recipient into the envelope sender address so that a bounce can be more easily handled even if the original recipient is forwarding their mail to another address and the remote Mail Transport Agents send back unhelpful bounce messages. The module can also be used to decode bounce recipient addresses. FUNCTIONS
EXPORTNone. SEE ALSODJ Bernstein details verps here: http://cr.yp.to/proto/verp.txt. Sam Varshavchik proposes an encoding here: http://www.courier-mta.org/draft-varshavchik-verp-smtpext.txt. AUTHORGyepi Sam <gyepi@cpan.org> COPYRIGHT AND LICENSECopyright 2007 by Gyepi Sam This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|