# Net/smtp TLS auth?

**URL:** <https://www.ruby-forum.com/t/net-smtp-tls-auth/108101>\
**Category:** Ruby\
**Created:** [June 29, 2007, 1:35am UTC](https://www.ruby-forum.com/t/net-smtp-tls-auth/108101 "2007-06-29T01:35:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ktheory](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e480ec/32.png) [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Post date:** [June 29, 2007, 1:35am UTC](https://www.ruby-forum.com/t/net-smtp-tls-auth/108101/1 "2007-06-29T01:35:27Z")

</div>

i’m trying to do some net/smtp operations and my smtp server requires  
TLS authentication. is that possible with net/smtp?

Thanks.

---

<div class="post-metadata">

**Author:** ![ktheory](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e480ec/32.png) [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Post date:** [June 29, 2007, 4:28am UTC](https://www.ruby-forum.com/t/net-smtp-tls-auth/108101/2 "2007-06-29T04:28:20Z")

</div>

On Jun 28, 7:35 pm, Aaron S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> i’m trying to do some net/smtp operations and my smtp server requires  
> TLS authentication. is that possible with net/smtp?
> 
> Thanks.

How ironic… to quote Ben, “To the best of my knowledge, no. I’ve  
been needing something like that for nearly a year now.”

T.

---

<div class="post-metadata">

**Author:** ![ktheory](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e480ec/32.png) [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Post date:** [June 29, 2007, 4:31am UTC](https://www.ruby-forum.com/t/net-smtp-tls-auth/108101/3 "2007-06-29T04:31:01Z")

</div>

Trans wrote:

> On Jun 28, 7:35 pm, Aaron S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > i’m trying to do some net/smtp operations and my smtp server requires  
> > TLS authentication. is that possible with net/smtp?
> > 
> > Thanks.
> 
> How ironic… to quote Ben, “To the best of my knowledge, no. I’ve  
> been needing something like that for nearly a year now.”
> 
> T.

damn

---

<div class="post-metadata">

**Author:** ![ktheory](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e480ec/32.png) [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Post date:** [June 29, 2007, 10:12am UTC](https://www.ruby-forum.com/t/net-smtp-tls-auth/108101/4 "2007-06-29T10:12:50Z")

</div>

Aaron S. wrote:

> i’m trying to do some net/smtp operations and my smtp server requires  
> TLS authentication. is that possible with net/smtp?
> 
> Thanks.

Look at the ar\_mailer gem, it includes a patch for net/smtp to to TLS.

Jonathan

---

<div class="post-metadata">

**Author:** ![ktheory](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/e480ec/32.png) [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Post date:** [June 29, 2007, 6:59am UTC](https://www.ruby-forum.com/t/net-smtp-tls-auth/108101/5 "2007-06-29T06:59:30Z")

</div>

Aaron S. schrieb:

> i’m trying to do some net/smtp operations and my smtp server requires  
> TLS authentication. is that possible with net/smtp?
> 
> Thanks.

Uhm, you may be able to connect to a tls auth’d smtp using a tunnel  
imho.

Sincerely  
Florian
