This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  fad05d0   configure mail before sending
fad05d0 is described below

commit fad05d0828c9fa05d395ac0c8b7426d9c3cd44ce
Author: Sam Ruby <[email protected]>
AuthorDate: Thu Aug 11 08:46:11 2016 -0400

    configure mail before sending
---
 www/officers/acreq.cgi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/officers/acreq.cgi b/www/officers/acreq.cgi
index 6636a2b..eef0628 100755
--- a/www/officers/acreq.cgi
+++ b/www/officers/acreq.cgi
@@ -282,6 +282,7 @@ _html do
         cc_list << "<#{@email}>".untaint # TODO: add @name RFC822-escaped
 
         # build the mail to be sent
+        ASF::Mail.configure
         mail = Mail.new do
           from  "#{user.public_name} <#{user.id}@apache.org>"
           return_path "[email protected]"

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to