[#6237] From address domain
Summary From address domain
Queue Vacation
Queue Version HEAD
Type Enhancement
State Accepted
Priority 1. Low
Owners
Requester rsalmon (at) mbpgroup (dot) com
Created 02/08/2008 (93 days ago)
Due
Updated 03/05/2008 (67 days ago)
Assigned
Resolved 02/12/2008 (89 days ago)
Attachments vacation.diff Download
Milestone
Patch 1

History
03/05/2008 Jan Schneider Patch ⇒ 1
State ⇒ Accepted
 
02/12/2008 rsalmon (at) mbpgroup (dot) com Comment #3
New Attachment: vacation.diff Download
Reply to this comment
> This should already be possible by adding a "realm" (domain) specific
> configuration to conf.php.


I've made a patch.
If $GLOBALS['conf']['vacation']['from'] is set to true, works like before patch
If $GLOBALS['conf']['vacation']['from'] is set to false, try to get default email.
02/12/2008 Jan Schneider Comment #2
State ⇒ Rejected
Reply to this comment
This should already be possible by adding a "realm" (domain) specific configuration to conf.php.
02/08/2008 rsalmon (at) mbpgroup (dot) com Comment #1
Queue ⇒ Vacation
Summary ⇒ From address domain
Type ⇒ Enhancement
Priority ⇒ 1. Low
State ⇒ New
Reply to this comment

We would like the From address  field set automatically so that users don't enter rubbish.

Is it possible to add an option that would set automatically the From field like this :
<user id>@<imp's pref mail_domain>

Otherwise, if $conf['vacation']['from'] = false, the email is sent as <user id>@<hostname>


thanks,
Ronan.