Page 1 of 1
Why did you choose Swift? (useful to me!)
Posted: Wed Feb 20, 2008 6:32 am
by Chris Corbyn
I'm very close to finishing v4 (after over 6 months dev!) but I'm weighing up a few API decisions and would quite like a collective poll on this.
What drove you to use Swift Mailer over other alternatives?
JOB OFFER !!!
Posted: Wed Feb 20, 2008 7:30 am
by kershawstannery
//////////////////////////////////
JOB OFFER !!!
Posted: Wed Feb 20, 2008 7:34 am
by kershawstannery
GET INTOUCH TO ME ........
Re: Why did you choose Swift? (useful to me!)
Posted: Wed Feb 20, 2008 6:22 pm
by EoN
I was after something that was class based/OOP and could do HTML emails with embedded images.
I was choosing out of PHP Mailer & Swift Mailer, and on reading up on both of them the selling points were the extra features in Swift, and the fact that it seemed to be newer, and always being improved.
To be honest I haven't looked at the code for PHP Mailer, but I find the Swift Mailer code to be VERY well written. Also the documentation has been clear & thorough. Also the forums are a BIG plus, especially how questions are answered so promptly - quite rare on other support forums!
Keep up the good work!
PS. I've got to say, from a marketing point of view, always keep this section on your front page - "Early versions of Swift were comparable to PHPMailer. Swift has since evolved and matured into a fully-fledged object-oriented mailing solution. Compared with PHPMailer, the interface for Swift is both tighter and more intuitive. I genuinely belive that no other mailer comes close to Swift in terms of available features.". That was probably a big part of what sold me! haha
Re: Why did you choose Swift? (useful to me!)
Posted: Thu Feb 21, 2008 1:19 am
by Kieran Huggins
Your code is tight and you haven't dropped development. Both excellent selling points!
I had plenty of experience using mail(), but your implementation just kicks mail()'s ass.
All that being said, I'd love a fluid interface in v6

Re: Why did you choose Swift? (useful to me!)
Posted: Thu Feb 21, 2008 2:06 am
by jmut
Voted: It has features I need
Pros:
- have documentation with examples
- is php5 so it will probably live longer
- works unicode so I can send cyrillic stuff and anything I can thing of.
- attachments
- html + cleartext body
- all in one..no need of extra packages or something
- it works
Cons: None for me.
I don't care about how code is written from inside as soon as API is clear and there are examples on common scenarious. There is not that much to mailing - single mail, bcc,cc,to, attachments, mass mail , html/clear text body and thats it for the 99% of it.
So with examples covering most stuff it all good.
Fantastic work. Thank you.
Re: Why did you choose Swift? (useful to me!)
Posted: Thu Feb 21, 2008 4:05 am
by Chris Corbyn
Kieran Huggins wrote:All that being said, I'd love a fluid interface in v6

Like this? (bearing in mind v4 is using DI).
Code: Select all
Swift_MimeFactory::setCharset('utf-8');
$message = Swift_MimeFactory::create('message')
->setSubject('??? ??????? ??? ?? ?????????????')
->setTo(array('rob@site.com' => 'Rob'))
->setFrom(array('chris@w3style.co.uk' => '???????????'))
->setBody("?? ??? ??????? ??? ?? ????? ????? ???????")
->attach(
Swift_MimeFactory::create('attachment')
->setContentType('application/pdf')
->setFile(new Swift_FileStream('??? ????? ???????.pdf'))
)
;
There are a few interfaces changes I need to make to make things simpler. And of course, the wrappers for the current API.
Re: Why did you choose Swift? (useful to me!)
Posted: Thu Feb 21, 2008 5:18 am
by Kieran Huggins
Something like that!
I'd be happy to help with the interface design, I've put a lot of thought into interfaces recently, for a couple of different projects.
Re: Why did you choose Swift? (useful to me!)
Posted: Thu Feb 21, 2008 6:44 am
by onion2k
On the recommendation of people here. Truth be told I didn't bother looking at the source until I hit a problem implementing it.
Re: Why did you choose Swift? (useful to me!)
Posted: Thu Feb 21, 2008 6:56 am
by Inkyskin
I use it for 2 reasons:
1: It's very well written (Hence the vote on that note)
2: It stops my mail getting labeled as junk (As it does when using the mail function quite often)
I can't say I have tried any other packages that other people may have written - but that's because I don't need to, this does everything I could dream of and more.