Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by mikasue (Friar)
on Apr 10, 2007 at 13:24 UTC ( #609139=note: print w/ replies, xml ) Need Help??


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

It sounds like I will need to include a User Email Setup screen in my program to ask the user for his/her smtp server information. Am I on track now?

Thanks!


Comment on Re^2: How to send mail from Perl/Tk Program?
Re^3: How to send mail from Perl/Tk Program?
by Bro. Doug (Monk) on Apr 10, 2007 at 14:11 UTC
    Am I on track now?

    You sure are. And, as an unsolicited tip, when you're popping windows in perlTk, try to use the same windows over and over, hiding and restoring windows as needed, changing names and labels as needed. I've found that perlTk program footprints in memory will grow as you Create new windows, which becomes a problem if the program runs too long.

    Maybe one of the other monks knows a good way to address this problem. delete() and undef() haven't cut it for me.

    Enjoy!
    Bro. Doug :wq
Re^3: How to send mail from Perl/Tk Program?
by jdporter (Canon) on Apr 10, 2007 at 15:29 UTC

    SMTP is fine, as long as you can safely assume your users will all have access to it. Even when it's available, it may not be the user's choice. I, for one (and I believe a lot of users feel the same way) would prefer to use my web-based email account. If you can add that as a configuration option, that would be ideal. You could probably leverage modules such as Mail::Client::Yahoo and WWW::Hotmail to handle the nasty bits for you.

    A word spoken in Mind will reach its own level, in the objective world, by its own weight

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://609139]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (14)
As of 2014-09-18 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (115 votes), past polls