# Sending an email with a link

**URL:** <https://www.ruby-forum.com/t/sending-an-email-with-a-link/115820>\
**Category:** Ruby\
**Created:** [September 28, 2007, 8:12pm UTC](https://www.ruby-forum.com/t/sending-an-email-with-a-link/115820 "2007-09-28T20:12:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![outtaluck](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6a8cbe/32.png) [@outtaluck](https://www.ruby-forum.com/u/outtaluck)\
**Post date:** [September 28, 2007, 8:12pm UTC](https://www.ruby-forum.com/t/sending-an-email-with-a-link/115820/1 "2007-09-28T20:12:25Z")

</div>

Hi all,

I am trying to send an e-mail with a link in it. I can send e-mails  
without any problems but can not figure out how to include a link in the  
body. I’ve been trying to use action\_mailer in Rails but it’s a stand  
alone script so there is no :controller or :action. Is there any where  
to make those nil? Or even better to leave out action\_mailer? Pointing  
me to a tutorial is fine

Thanks for any help

–Ray

---

<div class="post-metadata">

**Author:** ![outtaluck](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6a8cbe/32.png) [@outtaluck](https://www.ruby-forum.com/u/outtaluck)\
**Post date:** [September 28, 2007, 8:18pm UTC](https://www.ruby-forum.com/t/sending-an-email-with-a-link/115820/2 "2007-09-28T20:18:32Z")

</div>

I forget to mention I’m using SMTP no sendmail is available

---

<div class="post-metadata">

**Author:** ![outtaluck](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6a8cbe/32.png) [@outtaluck](https://www.ruby-forum.com/u/outtaluck)\
**Post date:** [September 28, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/sending-an-email-with-a-link/115820/3 "2007-09-28T20:35:50Z")

</div>

Doh sorry forgot one other thing

I can get a link sent like [http://linksomewhere.com](http://linksomewhere.com) but I’m trying to  
format like \<a href=

[http://linksomewhere.com](http://linksomewhere.com)\>link

thanks again

is there an edit button somewhere I’m missing?
