symfony
symfony forum
Home » plugins » General plug-ins » Using the sfSwift plugin
Using the sfSwift plugin [message #22096] Tue, 20 February 2007 19:47 Go to next message
sfxpt  is currently offline sfxpt
Messages: 339
Registered: January 2007
Location: Canada
Faithful Member
Hi,

Has anyone been able to get the sfSwift plugin working?

According to the wiki

Quote:


This is only an abstraction to provide autoloading to the library.

* Install the plugin

symfony plugin-install http://plugins.symfony-project.com/sfSwiftPlugin



I'm having trouble doing that. But further more,

I guess the plugin in only a thin wrapper for he SwiftMailer Library http://www.swiftmailer.org/, and I should install it beforehand, correct?

The problem is that from the swiftmailer.org web site, seems that you can put the lib directory anywhere. So what is the recommended location that I should put the lib dir? How should I inform sfSwiftPlugin the location of swiftmailer?

Can I install the swiftmailer the pear way? If so, how?

thanks for your help.



[Updated on: Tue, 20 February 2007 19:49]


http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Re: Using the sfSwift plugin [message #22116 is a reply to message #22096 ] Tue, 20 February 2007 22:03 Go to previous messageGo to next message
bladus  is currently offline bladus
Messages: 88
Registered: December 2005
Location: Germany
Member
The sfSwiftPlugin is a little bit outdated.

The plugin already has Swift bundled, so you should not install it beforehand. (I think the plugin uses 2.1.16)
Since yesterday there is Version 3.0 available (swiftmailer.org)

The plugin still has a beta version as max-version in the package.xml, so it wont install with 1.0.
<max>0.9.99999</max>

Also there's some error with an include somewhere (just a typo) that needs to be fixed.

It would be great if the package-maintainer could bump the plugin to swift 3.0 and, what i am personally missing, implement something like the 'sendEmail()'-method but for Swift-Mailer.


Symfoniac Weblog
Re: Using the sfSwift plugin [message #22196 is a reply to message #22116 ] Wed, 21 February 2007 17:34 Go to previous messageGo to next message
sfxpt  is currently offline sfxpt
Messages: 339
Registered: January 2007
Location: Canada
Faithful Member
thanks for the input.

Draven, any plan?

thx


http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Re: Using the sfSwift plugin [message #23253 is a reply to message #22096 ] Wed, 07 March 2007 15:26 Go to previous messageGo to next message
Draven  is currently offline Draven
Messages: 760
Registered: January 2006
Faithful Member
When I get some free time I'll updated the plug-in. Sorry I've been extremely busy as of late.
Re: Using the sfSwift plugin [message #23259 is a reply to message #23253 ] Wed, 07 March 2007 17:10 Go to previous messageGo to next message
sfxpt  is currently offline sfxpt
Messages: 339
Registered: January 2007
Location: Canada
Faithful Member
thanks for the feedback, Draven.

FYI, I'm using sfMail now, it works out of box:
http://www.symfony-project.com/forum/index.php?t=msg&th= 5064#msg_23192

[Updated on: Wed, 07 March 2007 17:11]


http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Re: Using the sfSwift plugin [message #30198 is a reply to message #23253 ] Tue, 26 June 2007 01:22 Go to previous messageGo to next message
dnglaze  is currently offline dnglaze
Messages: 15
Registered: June 2007
Junior Member

Draven, I'm wondering if there's a way I can contribute to your plugin. I wrote a mail class that emulates the sfMail class, but let's you use the Swift Mail library to do all the work. I was wondering if I can add it to your plugin.
Re: Using the sfSwift plugin [message #30991 is a reply to message #30198 ] Fri, 06 July 2007 22:55 Go to previous message
Draven  is currently offline Draven
Messages: 760
Registered: January 2006
Faithful Member
Please help yourself. It's really just a wrapper for the swiftMail class.
Previous Topic:[sfDoctrine] m-n relationship generator
Next Topic:Building package.xml for plugin PEAR format
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software