in reply to Re: Sending a email with file attachment with LWP ONLY
in thread Sending a email with file attachment with LWP ONLY
"It's true that LWP understands the mailto: protocol, so it may be able to send a composed message for you. I'm really not sure how mailto through HTTP works, and I'd be surprised if you can count on it working with every web server."
LWP's support for "mailto:" URIs doesn't involve HTTP at all - it just invokes /usr/sbin/sendmail and sends the mail that way. Similarly when LWP is passed a "file:" URI, it will happily read the file off your local system without any HTTP anywhere.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Sending a email with file attachment with LWP ONLY
by aaron_baugher (Curate) on Jul 05, 2012 at 14:53 UTC |