in reply to Re^4: How to send mail from Perl/Tk Program?
in thread How to send mail from Perl/Tk Program?
If you don't want to hardcode it, make it configurable for your users. You can also look up the MX record of the domain of the intended recipient and deliver the mail there. But delivering mail is a harder problem than you might think, because of Greylisting and firewalls and other stuff. So I think it's best to leave that up to the user.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: How to send mail from Perl/Tk Program?
by MaxKlokan (Monk) on Apr 11, 2007 at 09:36 UTC |