On Wed, Jan 31, 2018 at 2:16 PM, Craig Russell <[email protected]> wrote:
> Hi Sam,
>
> I remember setting this up and knew it was documented. Thanks for that.
>
> But it also fails on whimsy4.apache.org. I've checked in the code so you can 
> try it and see if it has the same problem.
>
> To recreate the problem, go to project/icla, fill the form, choose the vote 
> tab and click the Start the Vote.

I don't see the following called by the project/icla call.

ASF::Mail.configure

See:

https://whimsy.apache.org/docs/api/ASF/Mail.html

If this doesn't work, I would suggest that you modify the code in
tools/testmail.rb to match the code in projects/icla until you can
reproduce the problem.

> Thanks,
>
> Craig

P.S.  I'm on vacation stealing cycles between events.  Don't expect
quick responses or in-depth debugging until I get back home on Monday.

>> On Jan 31, 2018, at 10:12 AM, Sam Ruby <[email protected]> wrote:
>>
>> https://github.com/apache/whimsy/blob/master/MACOSX.md#configure-sending-of-mail
>>
>> Does the test script in that section work for you?
>>
>> On Wed, Jan 31, 2018, 10:50 AM Craig Russell <[email protected]> wrote:
>>
>>> The only difference between what I see in secretary/workbench and
>>> project/icla is that workbench uses deliver! and icla uses deliver which
>>> then ... calls deliver!
>>>
>>> What else could be going wrong?
>>>
>>> Craig
>>>
>>>> On Jan 30, 2018, at 6:10 PM, Craig Russell <[email protected]>
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I'm sure I have not set up my local environment correctly.
>>>>
>>>> "userEmail": "Craig L Russell <[email protected]>",
>>>> "pmcEmail": "[email protected]",
>>>> "exception": "#<Errno::ECONNREFUSED: Connection refused - connect(2)
>>> for \"localhost\" port 25>",
>>>>
>>>> This is the code that is running on the server:
>>>>
>>>> # create the email to the pmc
>>>> mail = Mail.new do
>>>> to useremail
>>>> from useremail
>>>> subject @subject
>>>> text_part do
>>>>   body %{#{comment}
>>>>   Use this link to vote:
>>>>
>>>>   #{link}
>>>>   }
>>>> end
>>>> end
>>>> mail.deliver
>>>>
>>>> Craig L Russell
>>>> [email protected]
>>>> 1220 University Ave
>>>> San Jose, CA 95126
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> Craig L Russell
>>> [email protected]
>>> 1220 University Ave
>>> San Jose, CA 95126
>>>
>>>
>>>
>>>
>>>
>>>
>
> Craig L Russell
> Secretary, Apache Software Foundation
> [email protected] http://db.apache.org/jdo
>

Reply via email to