Why did you choose Swift? (useful to me!)
Moderators: Chris Corbyn, General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Why did you choose Swift? (useful to me!)
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?
What drove you to use Swift Mailer over other alternatives?
-
kershawstannery
- Forum Newbie
- Posts: 2
- Joined: Tue Feb 19, 2008 1:53 pm
JOB OFFER !!!
//////////////////////////////////
-
kershawstannery
- Forum Newbie
- Posts: 2
- Joined: Tue Feb 19, 2008 1:53 pm
JOB OFFER !!!
GET INTOUCH TO ME ........
Re: Why did you choose Swift? (useful to me!)
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
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
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: Why did you choose Swift? (useful to me!)
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
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!)
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.
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.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Why did you choose Swift? (useful to me!)
Like this? (bearing in mind v4 is using DI).Kieran Huggins wrote:All that being said, I'd love a fluid interface in v6
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'))
)
;- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: Why did you choose Swift? (useful to me!)
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.
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!)
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!)
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.
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.