# \[ANN\] Mailer extension

**URL:** <https://www.ruby-forum.com/t/ann-mailer-extension/81962>\
**Category:** Radiant CMS\
**Created:** [January 16, 2007, 3:45pm UTC](https://www.ruby-forum.com/t/ann-mailer-extension/81962 "2007-01-16T15:45:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [January 16, 2007, 3:45pm UTC](https://www.ruby-forum.com/t/ann-mailer-extension/81962/1 "2007-01-16T15:45:07Z")

</div>

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/](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.

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [January 16, 2007, 4:01pm UTC](https://www.ruby-forum.com/t/ann-mailer-extension/81962/2 "2007-01-16T16:01:13Z")

</div>

Nice! We’ll try it out.

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

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [January 16, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/ann-mailer-extension/81962/3 "2007-01-16T16:38:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/ann-mailer-extension/81962/4 "2007-01-19T16:31:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [January 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/ann-mailer-extension/81962/5 "2007-01-19T16:31:51Z")

</div>

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](http://wiki.rubyonrails.org/rails/pages/HowToSendEmailsWithActionMailer)

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [January 16, 2007, 5:09pm UTC](https://www.ruby-forum.com/t/ann-mailer-extension/81962/6 "2007-01-16T17:09:34Z")

</div>

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 🙂

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

-jamie

---

<div class="post-metadata">

**Author:** ![smc7000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Post date:** [September 25, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/ann-mailer-extension/81962/7 "2007-09-25T22:31:20Z")

</div>

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](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:  
[ActionMailer::Base](http://api.rubyonrails.org/classes/ActionMailer/Base.html) . The two  
you’ll want to manipulate are server\_settings and delivery\_method.

Sean
