# Mail failed because of exception

**URL:** <https://meta.discourse.org/t/mail-failed-because-of-exception/40081>\
**Category:** Bug\
**Created:** [2016年二月24日 09:14 UTC](https://meta.discourse.org/t/mail-failed-because-of-exception/40081 "2016-02-24T09:14:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlokok](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/carlokok/32/115951_2.png) [@carlokok](https://meta.discourse.org/u/carlokok)\
**Post date:** [2016年二月24日 09:14 UTC](https://meta.discourse.org/t/mail-failed-because-of-exception/40081/1 "2016-02-24T09:14:28Z")

</div>

Error: undefined method `address\_list’ for #Mail::UnstructuredField:0x007f429f99b388  
Return-Path: \*\*@remobjects.com  
Message-Id: [56CC7966.1070606@remobjects.com](mailto:56CC7966.1070606@remobjects.com)  
In-Reply-To: topic/7503/38746@talk.remobjects.com  
Date February 23, 2016 4:23pm  
From a  
To [support@remobjects.com](mailto:support@remobjects.com)  
Subject Fwd: Re: [RemObjects Talk] Re Oracle cursors

If needed I can send the full mail/log entry privately.

(Using yesterday mornings HEAD when this was sent)

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2016年二月24日 09:25 UTC](https://meta.discourse.org/t/mail-failed-because-of-exception/40081/2 "2016-02-24T09:25:19Z")

</div>

That’s weird, would ❤ the raw email in PM 😉

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2016年二月24日 16:42 UTC](https://meta.discourse.org/t/mail-failed-because-of-exception/40081/3 "2016-02-24T16:42:01Z")

</div>

Turns out, having something in `[square brackets]` in the “`from`” header isn’t supported by the `mail` library we use.

Just pushed a fix 📧

[https://github.com/discourse/discourse/commit/54262cc9b29a27f31baa8a6a2edf5aead76cd0b7](https://github.com/discourse/discourse/commit/54262cc9b29a27f31baa8a6a2edf5aead76cd0b7)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2016年二月26日 23:56 UTC](https://meta.discourse.org/t/mail-failed-because-of-exception/40081/4 "2016-02-26T23:56:43Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
