just use the address instead of building it ourselves
This commit is contained in:
parent
9435dd777f
commit
ca529a673a
|
@ -55,7 +55,7 @@ module Email
|
|||
raise BadDestinationAddress if dest_infos.empty?
|
||||
|
||||
from = @message[:from].address_list.addresses.first
|
||||
user_email = "#{from.local}@#{from.domain}"
|
||||
user_email = from.address
|
||||
user_name = from.display_name
|
||||
|
||||
# TODO: deal with suspended/inactive users
|
||||
|
|
Loading…
Reference in New Issue