formmail c.f. swiftmail

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
escocia1
Forum Newbie
Posts: 4
Joined: Thu Mar 29, 2007 10:25 pm

formmail c.f. swiftmail

Post by escocia1 »

is swiftmail a good replacemt (improvement over) matts formmail cgi script?

does it validate form data?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: formmail c.f. swiftmail

Post 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.
escocia1
Forum Newbie
Posts: 4
Joined: Thu Mar 29, 2007 10:25 pm

Post 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?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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.
Post Reply