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 themsclg wrote:Thanks.
Are they part of the beta download or do I get them somewhere else?
S
Swift Mailer 4.0.0 FINAL Available!
Moderators: Chris Corbyn, General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Swift Mailer 4.0.0 Beta Available!
Re: Swift Mailer 4.0.0 Beta Available!
Great - thanks.
Steve
Steve
Re: Swift Mailer 4.0.0 Beta Available!
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.
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.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Swift Mailer 4.0.0 Beta Available!
I'll try to pass along the errors that were collected from each failed transport. This should helpmaular 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.
-
IshaDakota
- Forum Newbie
- Posts: 8
- Joined: Sun Jan 18, 2009 8:01 am
Re: Swift Mailer 4.0.0 Beta Available!
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.Chris Corbyn wrote: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 themsclg wrote:Thanks.
Are they part of the beta download or do I get them somewhere else?
SSorry about that, you know how it is with this whole "documentation" thing
It's coming before 4.0.0 final.
Certainly can wait till final release, but if your itching for some extra work
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Swift Mailer 4.0.0 Beta Available!
Some renaming of classes has been done in terms of namespacing:
Swift_Plugin_Throttler => Swift_Plugins_ThrottlerPlugin
Swift_Plugin_AntFlood => Swift_Plugins_AntiFloodPlugin
Swift_Plugin_Throttler => Swift_Plugins_ThrottlerPlugin
Swift_Plugin_AntFlood => Swift_Plugins_AntiFloodPlugin
-
IshaDakota
- Forum Newbie
- Posts: 8
- Joined: Sun Jan 18, 2009 8:01 am
Re: Swift Mailer 4.0.0 Beta Available!
I see. For any other newbies out there, this is an example of a call to the Anti-flood Plugin (that works for me):
No need any longer to require the class from the plugin directory - very nice, very efficient.
Code: Select all
$mailer->registerPlugin(new Swift_Plugins_AntiFloodPlugin(150, 10)); //this will pause 10 secs after 150 mails- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Swift Mailer 4.0.0 Beta Available!
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:
Known Bugs:
http://swiftmailer.org/betas/docs/v4-wo ... index.html
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
- Added some minor methods to components surrounding the headers.
Known Bugs:
- Missing the FileEmbedder Plugin that was in v3
http://swiftmailer.org/betas/docs/v4-wo ... index.html
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Swift Mailer 4.0.0 Beta Available!
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.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Swift Mailer 4.0.0 Beta Available!
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.
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!
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.
great work.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Swift Mailer 4.0.0 Beta Available!
I might add that to the contact page I guess, near where I mention the Google Group.Leeoniya wrote:sweet jebus! maybe add a forums link to your top nav? i cant find it at all on the pageand change the topic of this thread to say Final rather than Beta?
great work.
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
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!
Congratulations to your release and the new page, Chris
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
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
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: Swift Mailer 4.0.0 FINAL Available!
Thanks 
I'll fiddle with the rewrite rules
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.schgrypt wrote:One detail on the page: "Documentation" in the footer links to /docs/ (Forbidden) instead of /docs/introduction.
I'll fiddle with the rewrite rules