Posted by TedH (TedH), 4 November 2005Hi guys, on Unix/Apache web servers we have SendMail. Fair enuf, easy to set up a mail notification.
However Windows servers use something different and I haven't got a clue as to what it is or how to find out info on it ( I know nothing about Windows servers).
So I've come here
My continuing blog project has reached the point of mail notification of a comments posting. I've got the Unix Sendmail one working...
...and need to offer an option for the main Windows alternative.
What do I do? Or where can I find out?
Hope you can help - cheers - Ted
Posted by Custard (Custard), 4 November 2005Hi,
Have you checked out CPAN?
I use Mail::Sendmail in some of my programs. Despite it's name, it is platform independant according to its pod.
You may have to edit its Sendmail.pm and change the name of the smtp mail server to one of yours if it's not on 'localhost'.
There are other Mail:: modules on CPAN too.
Posted by TedH (TedH), 4 November 2005Hi Custard, the blog is going to end up as a give away on a freebie scripts site, so anything I have as an option will have to be some sort of generic Windows thingy. Otherwise I can just have a bit in the instructions saying that they'll have to sort out the mailer themselves and replace the Nix Sendmail bit of code.
I just wasn't sure, as most Unix Apache servers use Sendmail and I have this feeling that there could be just about anything on Windows ones
Posted by TedH (TedH), 5 November 2005Custard, thanks, I looked around (CPAN etc) and there seems to be quite a variety of mail packages used on Windows servers. So, I've set up the script with options (0=none, 1=Unix/Sendmail, 2=Windows) and will do a blurb in the instructions about the user sorting it out with their sys admin as I would not know which one anybody's using.
I found several different mail systems (some very expensive) and references to more and figured, 'that's enough, I'm gonna be here all week'.
cheers - Ted
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: firstname.lastname@example.org • WEB: http://www.wellho.net • SKYPE: wellho