Skip Menu |

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

Report information
The Basics
Id: 122484
Status: resolved
Priority: 0/
Queue: Net-Server-Mail

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

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



Subject: Improve documentaion for get_sender()
"Returns the sender of the current session." is all that it says. What is the type of the return value? Is it a text string of the sender's e-mail address? An object containing information such as the connecting IP address? Both would be useful!
Le Ven 14 Jui 2017 15:03:38, NHORNE a écrit : Show quoted text
> "Returns the sender of the current session." is all that it says. > What is the type of the return value? Is it a text string of the > sender's e-mail address? An object containing information such as the > connecting IP address? Both would be useful!
Hello, this is the "MAIL FROM" field content, so only the mail address. Text string isn't a SMTP field but a MIME one, so it is unknown from Net::Server::Mail, you have to browse mail content to get it using a MIME library.
Answered