Page 3 of 3

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Thu Feb 05, 2009 5:30 pm
by Chris Corbyn
sclg wrote:Thanks.
Are they part of the beta download or do I get them somewhere else?
S
They're part of the download. They're just not documented. It's probably worth just looking inside the "lib/classes/Swift/Plugins" directory to see what's there until I document them :) Sorry about that, you know how it is with this whole "documentation" thing :P It's coming before 4.0.0 final.

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Fri Feb 06, 2009 11:20 am
by sclg
Great - thanks.
Steve

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Mon Feb 09, 2009 8:12 am
by maular
What's the recommended way to catch meaningful errors while using load balancing? In testing this new version the SMTP server I was using rejected my hostname (app.localhost) - but of course the only error coming through the LoadBalancedTransport was "All Transports in LoadBalancedTransport failed, or no Transports available".

Would you recommend just creating a custom load balancing transport (perhaps just extending the existing one, overriding the send() function), to better identify these errors?

Apologies if there is an obvious solution, I haven't used Swift since v2.

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Mon Feb 09, 2009 7:53 pm
by Chris Corbyn
maular wrote:What's the recommended way to catch meaningful errors while using load balancing? In testing this new version the SMTP server I was using rejected my hostname (app.localhost) - but of course the only error coming through the LoadBalancedTransport was "All Transports in LoadBalancedTransport failed, or no Transports available".

Would you recommend just creating a custom load balancing transport (perhaps just extending the existing one, overriding the send() function), to better identify these errors?

Apologies if there is an obvious solution, I haven't used Swift since v2.
I'll try to pass along the errors that were collected from each failed transport. This should help :) Next version.

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Fri Feb 13, 2009 2:21 pm
by IshaDakota
Chris Corbyn wrote:
sclg wrote:Thanks.
Are they part of the beta download or do I get them somewhere else?
S
They're part of the download. They're just not documented. It's probably worth just looking inside the "lib/classes/Swift/Plugins" directory to see what's there until I document them :) Sorry about that, you know how it is with this whole "documentation" thing :P It's coming before 4.0.0 final.
Any chance to get a brief documentation on how to use plugins with ver4. I'm trying to no avail to use throttler and/or anti-flood. Do you need to require the class (as in ver 3) or is it like the transport (no longer needed)? I see you use "register" instead of "attach" but beyond that I still seem to be getting "class not found" errors.

Certainly can wait till final release, but if your itching for some extra work :wink:

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Fri Feb 13, 2009 5:41 pm
by Chris Corbyn
Some renaming of classes has been done in terms of namespacing:

Swift_Plugin_Throttler => Swift_Plugins_ThrottlerPlugin
Swift_Plugin_AntFlood => Swift_Plugins_AntiFloodPlugin

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Sat Feb 14, 2009 1:07 pm
by IshaDakota
I see. For any other newbies out there, this is an example of a call to the Anti-flood Plugin (that works for me):

Code: Select all

$mailer->registerPlugin(new Swift_Plugins_AntiFloodPlugin(150, 10)); //this will pause 10 secs after 150 mails
No need any longer to require the class from the plugin directory - very nice, very efficient.

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Wed Feb 18, 2009 7:57 am
by Chris Corbyn
4.0.0 RC1

Things are looking stable. This is probably going to be 4.0.0 final in 3 days time.

Download: http://cloud.github.com/downloads/swift ... rc1.tar.gz

Fixes:
  • Trivial changes, nothing major
Features:
  • Added some minor methods to components surrounding the headers.

Known Bugs:
  • Missing the FileEmbedder Plugin that was in v3
Documentation

http://swiftmailer.org/betas/docs/v4-wo ... index.html

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Wed Feb 18, 2009 8:00 am
by Chris Corbyn
I've just uploaded more up-to-date documentation to go with RC1. This includes some information on plugins (incomplete docs) and information on changing headers.

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Mon Mar 09, 2009 6:11 am
by Chris Corbyn
Version 4.0.0 is now live.

All you need is at http://swiftmailer.org/

Documentation updates will follow but just ask if you can't find something.

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Mon Mar 09, 2009 7:15 am
by Leeoniya
sweet jebus! maybe add a forums link to your top nav? i cant find it at all on the page :( and change the topic of this thread to say Final rather than Beta?

great work.

Re: Swift Mailer 4.0.0 Beta Available!

Posted: Mon Mar 09, 2009 8:07 am
by Chris Corbyn
Leeoniya wrote:sweet jebus! maybe add a forums link to your top nav? i cant find it at all on the page :( and change the topic of this thread to say Final rather than Beta?

great work.
I might add that to the contact page I guess, near where I mention the Google Group.

http://swiftmailer.org/contact

I'm sort of trying to phase out the heavy use of the forums to be honest and encourage the use of the other resources instead (i.e. the Google Group and Lighthouse). This forum, tucked away in a quiet little corner of DevNetwork is kinda strange really :P People keep using the forum as a bug tracker which makes things difficult to manage now that there are more developers involved.

But you're right, it is hard to see a mention of the forum anywhere on the new website at the moment, so I'll add it somewhere.

Re: Swift Mailer 4.0.0 FINAL Available!

Posted: Mon Mar 09, 2009 9:46 am
by schgrypt
Congratulations to your release and the new page, Chris :drunk:

Looks good and, of course, its running great.

One detail on the page: "Documentation" in the footer links to /docs/ (Forbidden) instead of /docs/introduction.

Thank you so much for your great work once again, Hip Hip Hurray from the continent

Re: Swift Mailer 4.0.0 FINAL Available!

Posted: Mon Mar 09, 2009 9:54 am
by Chris Corbyn
Thanks :)
schgrypt wrote:One detail on the page: "Documentation" in the footer links to /docs/ (Forbidden) instead of /docs/introduction.
Ah, bugger. I'll fix that, cheers. Basically my .htaccess mod_rewrite rule is getting confused since a directory called "docs" exists with no ability show directory listings, yet "/docs" in the URL should be directed to one of my application's controllers.

I'll fiddle with the rewrite rules :)