Page 1 of 1
formmail c.f. swiftmail
Posted: Fri Mar 30, 2007 12:07 pm
by escocia1
is swiftmail a good replacemt (improvement over) matts formmail cgi script?
does it validate form data?
Re: formmail c.f. swiftmail
Posted: Fri Mar 30, 2007 12:15 pm
by Chris Corbyn
escocia1 wrote:is swiftmail a good replacemt (improvement over) matts formmail cgi script?
does it validate form data?
No. It's not the same thing. Swift is a library for building MIME compliant emails and sending them over SMTP. It knows nothing about forms. That said, it's the perfect backend to something like a formmail script:
http://www.swiftmailer.org/wikidocs/v3/ ... /form2mail
You need to write the code though. Swift's aim is not to send emails from forms, it's to provide a powerful library of code that allows to do everything you can with your desktop mail client, and more -- in PHP code.
Posted: Fri Mar 30, 2007 1:44 pm
by escocia1
thanks for that! i understand more about swiftmailer now.
unfortunately i'm not a programmer
and i'm sure i'm not the first person needing a pre-written script to handle html form validation then send to email.
are there really no good options out there?
Posted: Fri Mar 30, 2007 1:55 pm
by Chris Corbyn
formmail is pretty much the only thing people use right now. I'm planning on writing one with Swift as the backend but it's not on my immediate TODO list, unless people start specifically asking/donating for that specific reason. To be honest, I was actually putting an IMAP/POP library above it on my list of priorities right now. Currently I'm just converting the website to use a framework.