[ANN] Mailer extension


#1

I’ve teased you long enough! The Mailer extension has been added to the
Radiant repository. You can find it at:

http://dev.radiantcms.org/svn/radiant/branches/mental/extensions/mailer/

The code has only been slightly modified from what is on our live site,
kckcc.edu, mainly to bring it in line with the latest revision of
‘mental’.
Feel free to send questions about how to get it working to the list,
I’ll
answer as best I can.

Cheers,

Sean C.


#2

Nice! We’ll try it out.

Are you going to do the same with event calendar and LDAP stuff you
mentioned?


#3

I’ll definitely release the LDAP. The event calendar is okay, but I’m
not especially proud of it. It works fine, it’s just that the UI
sucks. I’d be happy to accept patches for any of them, of course. Now
I just need to get my TxD SVN working again.

Sean


#4

Sean,
Can you give a brief explanation on how to install this?
Is there a rake task to install all the files in the necessary places?
Thanks,
BJ Clark


#5

I checked out the mailer code and it worked great for me.

The part that tripped me up was editing the environment.rb file as
mentioned here:
http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer


#6

I’ve got some LDAP authentication stuff I wrote for Radiant (and
Retrospectiva) that I’d be happy to contribute code from. And making
the UI not suck :slight_smile:

Love to see that one get released! Should do the same with mine,
really, but it too needs spit & polish

-jamie


#7

Yes, here we go.

There are a couple ways of doing this, depending on how comfortable you
are with SVN. My favorite way is to do

svn propedit svn:externals vendor/extensions

Make sure you have an EDITOR environment variable set (like vi or pico
or whatever). Then save this line to the property:

mailer
http://dev.radiantcms.org/svn/radiant/branches/mental/extensions/mailer

After you’ve saved that property, run svn update and it will download
the latest code.

Other ways include using svn export to dump the files directly to
vendor/extensions/mailer. If you want to use the Javascript
email-encryption stuff make sure to copy email.js to your
public/javascripts directory. The only other thing to change, which
is very instance-specific, is the general ActionMailer delivery
settings, which are described here:
http://api.rubyonrails.org/classes/ActionMailer/Base.html . The two
you’ll want to manipulate are server_settings and delivery_method.

Sean