You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by Jaspaul Chahal <ja...@dataguise.com> on 2016/05/10 19:02:41 UTC
SMTP settings for Email alerts
Hi Guys,
I am looking for SMTP settings for email alerts in Apache Eagle. I see the following properties in conf files:
"mailHost" : "mailHost.com",
"mailSmtpPort":"25",
"mailDebug" : "true"
The question is don't we need user/pass for SMTP server authentication? how to pass that info?
Thanks in Advance!
Jaspaul Chahal
Re: SMTP settings for Email alerts
Posted by Huizhi Lu <ih...@gmail.com>.
No problem.
It worked fine with TLS when I tested it yesterday. Since it has not yet merged to master, you can review my commit here. If you can want to use it now, you can cherry-pick the commit.
https://github.com/pkuwm/incubator-eagle/commit/5f866fcbb2d11f3312b31eb87e4cbaf153bce606
> On May 12, 2016, at 10:08 AM, Jaspaul Chahal <ja...@dataguise.com> wrote:
>
> Thanks Huizhi,
>
> Great! that's exactly what I was looking for, I wanted to use TLS .
>
> -Jaspaul
>
> -----Original Message-----
> From: Huizhi Lu [mailto:ihuizhi.lu@gmail.com]
> Sent: Thursday, May 12, 2016 10:06 AM
> To: dev@eagle.incubator.apache.org
> Subject: Re: SMTP settings for Email alerts
>
> Hi Jaspaul,
>
> I have fixed the bugs in a pull request but it has not been merged into master.
> We can set the email in application conf like the following.
> "mailHost" : "smtp.office365.com",
> "mailSmtpPort":"587",
> "mailSmtpAuth" : "true",
> "mailSmtpUser" : "username",
> "mailSmtpPassword" : "password",
> #"mailSmtpSslEnable" : "true",
> "mailSmtpTlsEnable" : "true",
>
> -Huizhi
>
>> On May 10, 2016, at 10:27 PM, Zhang, Edward (GDI Hadoop) <yo...@ebay.com> wrote:
>>
>> You can pass auth configuration through configuration, by default this
>> is disabled.Please try it.
>>
>> mail.smtp.auth=true
>>
>> mail.user
>>
>> mail.pwd
>>
>>
>>
>> But I do see there is possibly a bug with this, in AlertEmailSender,
>> those Auth information is not passed into EagleMailClient.
>>
>> Thanks
>> Edward
>>
>> On 5/10/16, 12:02, "Jaspaul Chahal" <ja...@dataguise.com> wrote:
>>
>>> Hi Guys,
>>>
>>> I am looking for SMTP settings for email alerts in Apache Eagle. I
>>> see the following properties in conf files:
>>>
>>> "mailHost" : "mailHost.com",
>>> "mailSmtpPort":"25",
>>> "mailDebug" : "true"
>>>
>>> The question is don't we need user/pass for SMTP server authentication?
>>> how to pass that info?
>>>
>>> Thanks in Advance!
>>>
>>> Jaspaul Chahal
>>
>
RE: SMTP settings for Email alerts
Posted by Jaspaul Chahal <ja...@dataguise.com>.
Thanks Huizhi,
Great! that's exactly what I was looking for, I wanted to use TLS .
-Jaspaul
-----Original Message-----
From: Huizhi Lu [mailto:ihuizhi.lu@gmail.com]
Sent: Thursday, May 12, 2016 10:06 AM
To: dev@eagle.incubator.apache.org
Subject: Re: SMTP settings for Email alerts
Hi Jaspaul,
I have fixed the bugs in a pull request but it has not been merged into master.
We can set the email in application conf like the following.
"mailHost" : "smtp.office365.com",
"mailSmtpPort":"587",
"mailSmtpAuth" : "true",
"mailSmtpUser" : "username",
"mailSmtpPassword" : "password",
#"mailSmtpSslEnable" : "true",
"mailSmtpTlsEnable" : "true",
-Huizhi
> On May 10, 2016, at 10:27 PM, Zhang, Edward (GDI Hadoop) <yo...@ebay.com> wrote:
>
> You can pass auth configuration through configuration, by default this
> is disabled.Please try it.
>
> mail.smtp.auth=true
>
> mail.user
>
> mail.pwd
>
>
>
> But I do see there is possibly a bug with this, in AlertEmailSender,
> those Auth information is not passed into EagleMailClient.
>
> Thanks
> Edward
>
> On 5/10/16, 12:02, "Jaspaul Chahal" <ja...@dataguise.com> wrote:
>
>> Hi Guys,
>>
>> I am looking for SMTP settings for email alerts in Apache Eagle. I
>> see the following properties in conf files:
>>
>> "mailHost" : "mailHost.com",
>> "mailSmtpPort":"25",
>> "mailDebug" : "true"
>>
>> The question is don't we need user/pass for SMTP server authentication?
>> how to pass that info?
>>
>> Thanks in Advance!
>>
>> Jaspaul Chahal
>
Re: SMTP settings for Email alerts
Posted by Huizhi Lu <ih...@gmail.com>.
Hi Jaspaul,
I have fixed the bugs in a pull request but it has not been merged into master.
We can set the email in application conf like the following.
"mailHost" : "smtp.office365.com",
"mailSmtpPort":"587",
"mailSmtpAuth" : "true",
"mailSmtpUser" : "username",
"mailSmtpPassword" : "password",
#"mailSmtpSslEnable" : "true",
"mailSmtpTlsEnable" : "true",
-Huizhi
> On May 10, 2016, at 10:27 PM, Zhang, Edward (GDI Hadoop) <yo...@ebay.com> wrote:
>
> You can pass auth configuration through configuration, by default this is
> disabled.Please try it.
>
> mail.smtp.auth=true
>
> mail.user
>
> mail.pwd
>
>
>
> But I do see there is possibly a bug with this, in AlertEmailSender, those
> Auth information is not passed into EagleMailClient.
>
> Thanks
> Edward
>
> On 5/10/16, 12:02, "Jaspaul Chahal" <ja...@dataguise.com> wrote:
>
>> Hi Guys,
>>
>> I am looking for SMTP settings for email alerts in Apache Eagle. I see
>> the following properties in conf files:
>>
>> "mailHost" : "mailHost.com",
>> "mailSmtpPort":"25",
>> "mailDebug" : "true"
>>
>> The question is don't we need user/pass for SMTP server authentication?
>> how to pass that info?
>>
>> Thanks in Advance!
>>
>> Jaspaul Chahal
>
Re: SMTP settings for Email alerts
Posted by "Zhang, Edward (GDI Hadoop)" <yo...@ebay.com>.
You can pass auth configuration through configuration, by default this is
disabled.Please try it.
mail.smtp.auth=true
mail.user
mail.pwd
But I do see there is possibly a bug with this, in AlertEmailSender, those
Auth information is not passed into EagleMailClient.
Thanks
Edward
On 5/10/16, 12:02, "Jaspaul Chahal" <ja...@dataguise.com> wrote:
>Hi Guys,
>
>I am looking for SMTP settings for email alerts in Apache Eagle. I see
>the following properties in conf files:
>
>"mailHost" : "mailHost.com",
>"mailSmtpPort":"25",
>"mailDebug" : "true"
>
>The question is don't we need user/pass for SMTP server authentication?
>how to pass that info?
>
>Thanks in Advance!
>
>Jaspaul Chahal