http://www.perlmonks.org?node_id=659473


in reply to Re^2: How to send mail from Perl/Tk Program?
in thread How to send mail from Perl/Tk Program?

on windows there is no sendmail program(unless you're
on cygwin but probably you're not)
use Email::Send
for sending email ,it should work ok.

Replies are listed 'Best First'.
Re^4: How to send mail from Perl/Tk Program?
by eserte (Deacon) on Dec 29, 2007 at 15:52 UTC
    But you still need to do some configuration for the SMTP host and maybe the authentication.

    Another possibility is to send mail via the web browser, in the hope that the user already configured the browser to send mail. The downside is that it is necessary to acknowledge the mail outside of the Tk program. For example, this works on my Unix system with seamonkey:

    seamonkey 'mailto:bla@example.com?subject=Subject&body=the%20body%20of +%20the%20mail'