Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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?

Replies are listed 'Best First'.
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?
[robby_dobby]: marto: yeah, I'd eventually visit Glasgow some day - just to visit the home town of GHC :-)
[robby_dobby]: Corion: Oh, that's awesome! Your timing is perfect enough to see all hell break loose when you get back at work :P
[marto]: well, let me know in advance, I'll buy you a pint :)
[Corion]: robby_dobby: No, I'm returning in the second workweek of January. The main hectic parts are in the first days after the start of the new year
[robby_dobby]: marto: and, I'm not sure I'd be around here long enough for YAPC::EU
[marto]: Corion nice, what are you plans for Christmas?
[robby_dobby]: Corion: Nice, you just won't be around to deal with the mess - enjoy your vacation :-)
[robby_dobby]: marto: Sure, will do. Thanks!
[Corion]: marto: No great plans - I'll meet with my sister, my brother and my mother, but that's all :)
[Corion]: ... and also a visit to my godson+family of course :)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-12-15 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (431 votes). Check out past polls.

    Notices?