Project

General

Profile

Emission Email Address Change?

Added by Anonymous almost 15 years ago

I had been using an e-mail address with display name in the "Emission email address" field under the "Email notifications" tab in Administrative settings. The email address was exactly character for character input in the field as follows:

\"John Doe\" <john.doe@domain.com>

Emails would come through showing this in the "From" address:

"John Doe" <john.doe@domain.com>

So this did indeed work (for quite some time). I upgraded to Redmine 0.9.0.devel.3260 and I now get an error "501" when trying to use the address with display name. I switched to just using in the field. I would like to use the previous format if possible. Has anyone experienced this?


Replies (14)

RE: Emission Email Address Change? - Added by Felix Schäfer almost 15 years ago

Works for me on r3255 and r3280, could you please have a look at your production.log and post the error here?

RE: Emission Email Address Change? - Added by Anonymous almost 15 years ago

With \"John Doe\" <> I get this error:

An error occurred while sending mail (501 <"John Doe" >: "@" or "." expected after ""John Doe"" )

With "John Doe" <> I get this error:

An error occurred while sending mail (501 >: "@" or "." expected after "John" )

production.log does not show any errors. The error is displayed in red box towards the top of the page after I click on "Send a test email". But this is what is displayed after clicking the link:

Processing SettingsController#edit (for 192.168.xx.xx at 2010-01-04 16:13:24) [GET]
  Parameters: {"action"=>"edit", "controller"=>"settings", "tab"=>"notifications"}
Rendering template within layouts/admin
Rendering settings/edit
Completed in 67ms (View: 63, DB: 2) | 200 OK [http://projects.domain.com/settings/edit?tab=notifications]

RE: Emission Email Address Change? - Added by Felix Schäfer almost 15 years ago

Well, the more I look at it, the more I think the 501 error comes from your SMTP Server, has there been any change there? Other than that, I think you'll have to file a bug.

RE: Emission Email Address Change? - Added by Christian Richardt over 14 years ago

I am having the same issue after upgrading from 0.8.7 to 0.9.3.

Removing the name and angle brackets make it work, but I would like to be able to have it displayed with a nice name in an email client.

RE: Emission Email Address Change? - Added by Martial SERON almost 14 years ago

Issue still present in 1.0.2

Erreur lors de l'envoi de l'email (501 5.1.7 Invalid address: > )

RE: Emission Email Address Change? - Added by WMI Admin over 13 years ago

  1. gem query | grep rails
    rails (2.3.11, 2.3.5)

"Redmine" <> - An error occurred while sending mail (501 5.5.4 Invalid Address ) - MS Exchange 2003

RE: Emission Email Address Change? - Added by Etienne Massip over 13 years ago

Are you sure Redmine is running with 2.3.11 ?

RE: Emission Email Address Change? - Added by WMI Admin over 13 years ago

How I can verify this ?

RE: Emission Email Address Change? - Added by Etienne Massip over 13 years ago

Rails version used by Redmine is fixed at beginning of file config/environment.rb and is 2.3.5 for stable releases.

You should not upgrade, 2.3.11 is not supported by stable.

RE: Emission Email Address Change? - Added by WMI Admin over 13 years ago

Etienne Massip,
Otherwise, how I can fix this ?

RE: Emission Email Address Change? - Added by Etienne Massip over 13 years ago

Well, either you don't use the <> syntax til 1.2.0 is released (should be soon) or you upgrade to unstable trunk version (not recommended for production use).

RE: Emission Email Address Change? - Added by WMI Admin over 13 years ago

Thank you Etienne Massip !
I will wait 1.2.0 version.

RE: Emission Email Address Change? - Added by WMI Admin over 13 years ago

All works in 1.2.0

Redmine Project Management <redmine@domain.com>

Thanks.

    (1-14/14)