From: Nick C. <ni...@cl...> - 2002-11-21 09:08:30
|
On Wed, Nov 20, 2002 at 10:39:42PM -0800, Nick Cleaton wrote: > > uid=68644(nickjc) gid=100(users) groups=100(users),40625(nms-cgi) > formmail EXAMPLES,2.1,2.2 FormMail.pl,2.19,2.20 README,2.6,2.7 > Wed Nov 20 22:39:42 PST 2002 > Update of /cvsroot/nms-cgi/formmail > In directory sc8-pr-cvs1:/tmp/cvs-serv27318 > > Modified Files: > EXAMPLES FormMail.pl README This is quite a big change, so I haven't released yet. > * added $postmaster config variable to allow envelope sender to be set This assumes that $mailprog accepts "-f $sender" on the command line, but users with mailprogs that don't can just leave $postmaster blank and set the sender directly in $mailprog, so that's OK. > * added support for mailing via SMTP The external nms_sendmail script is fine when it's working, but impossible to debug on a Win32 shared web server, since the error message always seems to get lost somewhere when it dies. Direct SMTP from within FormMail.pl doesn't have this problem, so now we'll get a meaningful error message if the SMTP conversation fails. And it's easier to set up than nms_sendmail. -- Nick |