Reply-to field in gallery emails

tkerby

Joined: 2005-07-22
Posts: 9
Posted: Wed, 2005-11-09 10:52

Is it possible to set a reply to field in emails gallery sends through php? I cant see any way of doing this and think it would be a useful feature.

The reason I ask is our mail servers must have authenticated mail and we are not allowed to assign email addresses to web applications. As such, we must send from a false email address on a different server with a reply to set to a real email address. This is to prevent impersonation of any of our mail users

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-11-09 10:56

feel free to file a feature request on http://sf.net/projects/gallery/ -> RFE

modules/core/classes/helpers/MailHelper_simple.class
should be quite obvious how to hack it.

a proper fix should check if there's a Reply-To header in the additional headers argument supplied to the function and if not, default to a default value.
since ecards shouldn't have the default reply-to address, IMO.
but your hack could just add the Reply-To header in there.