Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0772A200B13 for ; Wed, 1 Jun 2016 01:37:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 05FF9160A46; Tue, 31 May 2016 23:37:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 598C7160A44 for ; Wed, 1 Jun 2016 01:37:40 +0200 (CEST) Received: (qmail 20617 invoked by uid 500); 31 May 2016 23:37:39 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 20607 invoked by uid 99); 31 May 2016 23:37:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2016 23:37:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C8A3318056E for ; Tue, 31 May 2016 23:37:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=binghamton-edu.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id EA52ICD_L6NY for ; Tue, 31 May 2016 23:37:35 +0000 (UTC) Received: from mail-qk0-f174.google.com (mail-qk0-f174.google.com [209.85.220.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A3E175F2C2 for ; Tue, 31 May 2016 23:37:34 +0000 (UTC) Received: by mail-qk0-f174.google.com with SMTP id n63so2576038qkf.0 for ; Tue, 31 May 2016 16:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=binghamton-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=bfr+6IS3GoVKFmbcq/ioUvRjY86dG5N9Z5n66zrJW+U=; b=gbYhekjtaSGi0ld4aIyR7FoGHxyIC3TAMdq7yi/sUk62HsxQSvnt8QwLdvdpLp2Y+E C+aHoMEIS4FS82M0aSTuWup99FpJwlX7JwzkyfVqYDxgzxXJ6iCntg005KbN516Bfcau IVYGTpbTHCOcnpKuUNlJW/qATO6UI7GO4Qb3hgZLByhIwzJOyj2lY/ykh8Qype+J5Isq sczEsofzLtE1J10jsBwSZZPvZxe3TUdfl0KO+QoCOmRfmg7rx6itpSPwt0PSzOEFW99Z /WwhRzq9S3plTcljcbfV0e1m8MAowt9LzPn/0c7rqIec39LpAbPXigE0Wv9MzIDHwuv+ GFYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=bfr+6IS3GoVKFmbcq/ioUvRjY86dG5N9Z5n66zrJW+U=; b=K+L9YiHraDRz3H5U7V6Ggqakimnxljk+uwnHf8tuAMhAN3r++gO6N3iObltTXdXnrU NmZ2TR2kMN2GkLAEOf05ly69WY3LlwcOaJMpfhv0r11XweZodBJy7BM13eCWMulVAYQA zYXtv57XbATxF090rjt96SLsZBHxvYqk33GAC1EA67AlKdNtQc93b623xlvDzQysg/Ba V4CqRHM/MXQytwUqt44OayhntmrMudpazSUcgnzAwl4fVUcUob9bWm+TGydF9z6ZsPxo yVltH8+DaZgjiBMXpULj3EzlBfSuX4//jwFoFbxkHx7ph3BxzthaQM5fA6vmSMFdyHoN 2s7w== X-Gm-Message-State: ALyK8tLheYNwZGytCeh155bsp+vcI56Zf//ZR3mmxzpal8aVzqfigYVPurs0PFOr6txuck/70c81nMVJ4YE1rZAD MIME-Version: 1.0 X-Received: by 10.55.156.202 with SMTP id f193mr14974304qke.9.1464737853586; Tue, 31 May 2016 16:37:33 -0700 (PDT) Received: by 10.55.175.135 with HTTP; Tue, 31 May 2016 16:37:33 -0700 (PDT) In-Reply-To: References: <5748C270.4060904@nd.edu> <5748CAC7.8010204@nd.edu> Date: Tue, 31 May 2016 19:37:33 -0400 Message-ID: Subject: Re: Failed Sending Account Confirmation Email after Account Creation with local PGA - WSO2 IS set up From: Abhishek Jain To: Bikramjeet Singh , dev Content-Type: multipart/alternative; boundary=94eb2c05d19c73d32005342bdb7a archived-at: Tue, 31 May 2016 23:37:42 -0000 --94eb2c05d19c73d32005342bdb7a Content-Type: text/plain; charset=UTF-8 Hi Bikramjeet, Are you trying to install on your Macbook ? As httpd.conf is not required for Ubuntu. Ubuntu doesn't use httpd.conf as standard, instead global configuration stuff for apache is found in /etc/apache2/apache2.conf. Can you also share your default vhost config file which is found in the /sites-available/ ? On Tue, May 31, 2016 at 11:30 AM, Bikramjeet Singh < singh.bikramjeet3@gmail.com> wrote: > Hi, > I didn't check yet, but I tried localhost/airavata-php-gateway/public also > but the page was not accessible, I wondered there might be some else link > and if this is the link only can you share your httpd.conf file? > > Thanks > > > On Tuesday 31 May 2016, Abhishek Jain wrote: > >> Hi Bikramjeet, >> Did ur problem resolve ? >> >> On Tuesday, May 31, 2016, Abhishek Jain wrote: >> >>> Hi Bikramjeet, >>> Once you have locally set up the PGA, you should be able to access the >>> PGA page on localhost. It depends how you have configured you Apache >>> server. >>> >>> On Tuesday, May 31, 2016, Bikramjeet Singh >>> wrote: >>> >>>> Hi Abhishek, >>>> >>>> I've airavata running, and PGA and wso2 configured, can you please tell >>>> me how to use PGA, I mean how to access gateway admin page of PGA, I cant >>>> find link anywhere. >>>> >>>> Thanks >>>> >>>> On Sat, May 28, 2016 at 4:15 AM, Abhishek Jain >>>> wrote: >>>> >>>>> Hi Jeff, >>>>> Yes. I configured MailTransportSender. I configured it as follows : >>>>> >>>>> >>>> >>>>> class="org.apache.axis2.transport.mail.MailTransportSender"> >>>>> abhi.airavata94@gmail.com >>>>> >>>>> abhi.airavata94 >>>>> somepassword >>>>> smtp.gmail.com >>>>> >>>>> 587 >>>>> true >>>>> true >>>>> >>>>> >>>>> It stills throws the same error. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Fri, May 27, 2016 at 6:34 PM, Abhishek Jain >>>> > wrote: >>>>> >>>>>> Yes I have configured that. I will verify it once again and then come >>>>>> back to you. >>>>>> >>>>>> On Fri, May 27, 2016 at 6:31 PM, Jeff wrote: >>>>>> >>>>>>> Hi Abishek, >>>>>>> >>>>>>> Did you configure everything like in >>>>>>> http://airavata.readthedocs.io/en/latest/Own-WSO2-IS-Configuration/ >>>>>>> ? There is a part near the bottom of the page (right above step 4) about >>>>>>> configuring the MailTransportSender, which is the part of code throwing the >>>>>>> error. >>>>>>> >>>>>>> Jeff K. >>>>>>> >>>>>>> >>>>>>> On 05/27/2016 06:14 PM, Abhishek Jain wrote: >>>>>>> >>>>>>> Hi Jeff, >>>>>>> I had forgotten to configure OAuth for the service provider. >>>>>>> I followed the instructions mentioned in the link you just shared >>>>>>> and configured , and added the client key and secret key in the >>>>>>> pga_config.php. >>>>>>> Also, I changed the links in the email-admin config.xml as you had >>>>>>> mentioned. >>>>>>> But it looks like the issue did not resolve. It still fails to send >>>>>>> an email. >>>>>>> These are how my files look now. >>>>>>> >>>>>>> On Fri, May 27, 2016 at 5:56 PM, Jeff wrote: >>>>>>> >>>>>>>> It looks like your OAuth client key and OAuth client secret in >>>>>>>> pga_config.php are the defaults--have you configured OAuth for your service >>>>>>>> provider? This page of the docs has the relevant setup >>>>>>>> http://airavata.readthedocs.io/en/latest/WSO2-IS-Configuration/ >>>>>>>> >>>>>>>> Once you have the OAuth service set up, copy the client key and >>>>>>>> secret key that are created into your pga-config.php. >>>>>>>> >>>>>>>> The other thing is that the links in email-admin-config.xml should >>>>>>>> be set to something like >>>>>>>> >>>>>>>> >>>>>>>> https://localhost/airavata-php-gateway/public/reset-password?confirmation= >>>>>>>> {confirmation-code}&userstoredomain={userstore-domain}&username={url:user-name}&tenantdomain={tenant-domain} >>>>>>>> >>>>>>>> for Password Reset and >>>>>>>> >>>>>>>> >>>>>>>> https://localhost/airavata-php-gateway/public/confirm-user-registration?confirmation= >>>>>>>> {confirmation-code}&userstoredomain={userstore-domain}&username={url:user-name}&tenantdomain={tenant-domain} >>>>>>>> >>>>>>>> for Account Confirmation. This points them to the local PGA pages >>>>>>>> that handle password reset and account confirmation, respectively. >>>>>>>> >>>>>>>> Hope this helps! >>>>>>>> Jeff K. >>>>>>>> >>>>>>>> >>>>>>>> On Fri, May 27, 2016 at 5:42 PM, Abhishek Jain < >>>>>>>> ajain13@binghamton.edu> wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> Hi All, >>>>>>>>> >>>>>>>>> I have locally set up the PGA and WSO2. They are up and running. I >>>>>>>>> added the admin user credentials of the tenant that I created in the >>>>>>>>> pga_conf.php file. So now when I try creating an account, I get a message >>>>>>>>> that a confirmation link has been sent to the email account, but I can see >>>>>>>>> an error in my IS log saying that sending of email has failed which is as >>>>>>>>> follows : >>>>>>>>> >>>>>>>>> *[2016-05-27 14:19:34,698] @test.bu.com [1] >>>>>>>>> [IS] INFO {org.wso2.carbon.identity.mgt.mail.DefaultEmailSendingModule} - >>>>>>>>> Sending user credentials configuration mail to jainabhishek93@gmail.com* >>>>>>>>> *[2016-05-27 14:19:35,403] @test.bu.com [1] >>>>>>>>> [IS]ERROR {org.wso2.carbon.identity.mgt.mail.DefaultEmailSendingModule} - >>>>>>>>> Failed Sending Email* >>>>>>>>> *org.apache.axis2.AxisFault: Error generating mail message* >>>>>>>>> * at >>>>>>>>> org.apache.axis2.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:226)* >>>>>>>>> * at >>>>>>>>> org.apache.axis2.transport.mail.MailTransportSender.sendMessage(MailTransportSender.java:184)* >>>>>>>>> * at >>>>>>>>> org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112)* >>>>>>>>> * at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)* >>>>>>>>> * at >>>>>>>>> org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297)* >>>>>>>>> * at >>>>>>>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)* >>>>>>>>> * at >>>>>>>>> org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:511)* >>>>>>>>> * at >>>>>>>>> org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:488)* >>>>>>>>> * at >>>>>>>>> org.wso2.carbon.identity.mgt.mail.DefaultEmailSendingModule.sendEmail(DefaultEmailSendingModule.java:116)* >>>>>>>>> * at >>>>>>>>> org.wso2.carbon.identity.mgt.mail.AbstractEmailSendingModule.notifyUser(AbstractEmailSendingModule.java:59)* >>>>>>>>> * at >>>>>>>>> org.wso2.carbon.identity.mgt.NotificationSendingModule.run(NotificationSendingModule.java:33)* >>>>>>>>> * at >>>>>>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)* >>>>>>>>> * at java.util.concurrent.FutureTask.run(FutureTask.java:262)* >>>>>>>>> * at >>>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)* >>>>>>>>> * at >>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)* >>>>>>>>> * at java.lang.Thread.run(Thread.java:745)* >>>>>>>>> *Caused by: org.apache.axis2.AxisFault: Error creating mail >>>>>>>>> message or sending it to the configured server* >>>>>>>>> * at >>>>>>>>> org.apache.axis2.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:226)* >>>>>>>>> * at >>>>>>>>> org.apache.axis2.transport.mail.MailTransportSender.sendMail(MailTransportSender.java:505)* >>>>>>>>> * at >>>>>>>>> org.apache.axis2.transport.mail.MailTransportSender.sendMessage(MailTransportSender.java:175)* >>>>>>>>> * ... 14 more* >>>>>>>>> *Caused by: javax.mail.AuthenticationFailedException* >>>>>>>>> * at javax.mail.Service.connect(Service.java:306)* >>>>>>>>> * at javax.mail.Service.connect(Service.java:156)* >>>>>>>>> * at javax.mail.Service.connect(Service.java:105)* >>>>>>>>> * at javax.mail.Transport.send0(Transport.java:168)* >>>>>>>>> * at javax.mail.Transport.send(Transport.java:98)* >>>>>>>>> * at >>>>>>>>> org.apache.axis2.transport.mail.MailTransportSender.sendMail(MailTransportSender.java:494)* >>>>>>>>> * ... 15 more* >>>>>>>>> >>>>>>>>> >>>>>>>>> I am attaching my pga_conf.php file and also, the >>>>>>>>> email-admin-config.xml file. >>>>>>>>> >>>>>>>>> Also, I am attaching the screenshots of my tenant details and >>>>>>>>> service provider details. >>>>>>>>> >>>>>>>>> Can you tell me what am I missing out or if I have made a mistake >>>>>>>>> in the pga_config.php file ? >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Thanks & Regards, >>>>>>>>> Abhishek Jain >>>>>>>>> >>>>>>>>> *Graduate Student* >>>>>>>>> *Department of Computer Science* >>>>>>>>> *Thomas J. Watson School of Engineering & Applied Science* >>>>>>>>> *Binghamton University - State Univeristy of New York (SUNY)* >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Thanks & Regards, >>>>>>> Abhishek Jain >>>>>>> >>>>>>> *Graduate Student* >>>>>>> *Department of Computer Science* >>>>>>> *Thomas J. Watson School of Engineering & Applied Science* >>>>>>> *Binghamton University - State Univeristy of New York (SUNY)* >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Thanks & Regards, >>>>>> Abhishek Jain >>>>>> >>>>>> *Graduate Student* >>>>>> *Department of Computer Science* >>>>>> *Thomas J. Watson School of Engineering & Applied Science* >>>>>> *Binghamton University - State Univeristy of New York (SUNY)* >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Thanks & Regards, >>>>> Abhishek Jain >>>>> >>>>> *Graduate Student* >>>>> *Department of Computer Science* >>>>> *Thomas J. Watson School of Engineering & Applied Science* >>>>> *Binghamton University - State Univeristy of New York (SUNY)* >>>>> >>>>> >>>>> >>>> >>> >>> -- >>> Thanks & Regards, >>> Abhishek Jain >>> >>> *Graduate Student* >>> *Department of Computer Science* >>> *Thomas J. Watson School of Engineering & Applied Science* >>> *Binghamton University - State University of New York (SUNY)* >>> >>> >>> >>> >> >> -- >> Thanks & Regards, >> Abhishek Jain >> >> *Graduate Student* >> *Department of Computer Science* >> *Thomas J. Watson School of Engineering & Applied Science* >> *Binghamton University - State University of New York (SUNY)* >> >> >> >> -- Thanks & Regards, Abhishek Jain *Graduate Student* *Department of Computer Science* *Thomas J. Watson School of Engineering & Applied Science* *Binghamton University - State Univeristy of New York (SUNY)* --94eb2c05d19c73d32005342bdb7a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Bikramjeet,

Are you trying to install on y= our Macbook ? As httpd.conf is not required for Ubuntu.

Ubuntu doesn't use httpd.conf as standard, instead global configu= ration stuff for apache is found in /etc/apache2/apache2.conf.
Can you also share your=C2=A0default vhost config file which i= s found in the <apache2 Root>/sites-available/ ?

=


On Tue, May 31, 2016 at 11:30 AM, Bikramjeet Singh &l= t;singh.bi= kramjeet3@gmail.com> wrote:
Hi,
I did= n't check yet, but I tried localhost/airavata-php-gateway/public also b= ut the page was not accessible, I wondered there might be some else link an= d if this is the link only can you share your httpd.conf file?=C2=A0
<= div>
Thanks


On Tuesday 31 May 2016, Abhishek= Jain <ajain= 13@binghamton.edu> wrote:
Hi Bikramjeet,
Did= ur problem resolve ?

On Tuesday, May 31, 2016, Abhishek Jain &= lt;ajain13@binghamton.edu> wrote:
Hi Bikramje= et,
Once you have locally set up the PGA, you should be able to access = the PGA page on localhost. It depends how you have configured you Apache se= rver.=C2=A0

On Tuesday, May 31, 2016, Bikramjeet Singh <s= ingh.bikramjeet3@gmail.com> wrote:
Hi Abhishek,

I've airavata runnin= g, and PGA and wso2 configured, can you please tell me how to use PGA, I me= an how to access gateway admin page of PGA, I cant find link anywhere.
<= br>
Thanks

On Sat, May 28, 2016 at 4:15 AM, Abhishek Jain &= lt;ajain13@binghamton.edu> wrote:
Hi Jeff,
Yes. I configured MailTransportSender. I configur= ed it as follows :

=C2=A0<transportSender = name=3D"mailto"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D"org.apache.axis2.transp= ort.mail.MailTransportSender">
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 <parameter name=3D"mail.smtp.from">abhi.airavata94@g= mail.com</parameter>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <pa= rameter name=3D"mail.smtp.user">abhi.airavata94</parameter&= gt;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <parameter name=3D"mail.s= mtp.password">somepassword</parameter>
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 <parameter name=3D"mail.smtp.host">smtp.gmail.com</parame= ter>

=C2=A0 =C2=A0 =C2=A0 =C2=A0 <parameter = name=3D"mail.smtp.port">587</parameter>
=C2=A0= =C2=A0 =C2=A0 =C2=A0 <parameter name=3D"mail.smtp.starttls.enable&= quot;>true</parameter>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <p= arameter name=3D"mail.smtp.auth">true</parameter>
<= div>=C2=A0 =C2=A0 </transportSender>

I= t stills throws the same error.




On Fri, May 27, 2016 at 6:34 PM, Abhishek Jain <ajain13@binghamton.edu> wrote:
Yes I have configured that. I will verify it once = again and then come back to you.
=
On Fri, May 27, 2016 at 6:31 PM, Jeff <jkinniso@nd.edu> wrote:
=20 =20 =20
Hi Abishek,

Did you configure everything like in http://airavata.readthedocs.io/en/latest/Own-WSO= 2-IS-Configuration/ ? There is a part near the bottom of the page (right above step 4) about configuring the MailTransportSender, which is the part of code throwing the error.

Jeff K.


On 05/27/2016 06:14 PM, Abhishek Jain wrote:
Hi Jeff,
I had forgotten to configure OAuth for the service provider.
I followed the instructions mentioned in the link you just shared and configured , and added the client key and =C2=A0secret key in the pga_config.php.
Also, I changed the links in the email-admin config.xml as you had mentioned.=C2=A0
But it looks like the issue did not resolve. It still fails to send an email.
These are how my files look now.=C2=A0

On Fri, May 27, 2016 at 5:56 PM, Jeff <jkinniso@nd.edu> wrote:
It looks like your OAuth client key and OAuth client secret in pga_config.php are the defaults--have you configured OAuth for your service provider? This page of the docs has the relevant setup http://airavata.readthedocs.io= /en/latest/WSO2-IS-Configuration/

Once you have the OAuth service set up, copy the client key and secret key that are created into your pga-config.php.

The other thing is that the links in email-admin-config.xml should be set to something like

https://localhost/airavata-= php-gateway/public/reset-password?confirmation=3D{confirmation-code}&am= p;amp;userstoredomain=3D{userstore-domain}&amp;username=3D{url:user-nam= e}&amp;tenantdomain=3D{tenant-domain}

for Password Reset and

https://localhos= t/airavata-php-gateway/public/confirm-user-registration?confirmation=3D= {confirmation-code}&amp;userstoredomain=3D{userstore-domain}&amp;us= ername=3D{url:user-name}&amp;tenantdomain=3D{tenant-domain}

for Account Confirmation. This points them to the local PGA pages that handle password reset and account confirmation, respectively.

Hope this helps!
Jeff K.


On Fri, May 27, 2016 at 5:42 PM, Abhishek Jain <<= a>ajain13@binghamton.edu> wrote:

Hi All,

I have locally set up the PGA and WSO2. They are up and running. I added the admin user credentials of the tenant that I created in the pga_conf.php file. So now when I try creating an account, I get a message that a confirmation link has been sent to the email account, but I can see an error in my IS log saying that sending of email has failed which is as follows :

[2016-05-27 14:19:34,698] @test.bu.com [1] [IS] INFO {org.wso2.carbon.identity.mgt.mail.DefaultE= mailSendingModule} - =C2=A0Sending user credentials configuration mail to jainabhishe= k93@gmail.com
[2016-05-27 14:19:35,403] @test.bu.com [1] [IS]ERROR {org.wso2.carbon.identity.mgt.mail.DefaultE= mailSendingModule} - =C2=A0Failed Sending Email
org.apache.axis2.AxisFault: Error generating mail message
<= /span>at org.apache.axis2.transport.base.AbstractTransportSender.handleException(Abs= tractTransportSender.java:226)
<= /span>at org.apache.axis2.transport.mail.MailTransportSender.sendMessage(MailTranspo= rtSender.java:184)
<= /span>at org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTran= sportSender.java:112)
<= /span>at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
<= /span>at org.apache.axis2.description.OutOnlyAxisOperationClient.executeImpl(OutOnly= AxisOperation.java:297)
<= /span>at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
<= /span>at org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:511)=
<= /span>at org.apache.axis2.client.ServiceClient.fireAndForget(ServiceClient.java:488)=
<= /span>at org.wso2.carbon.identity.mgt.mail.DefaultEmailSendingModule.sendEmail(Defau= ltEmailSendingModule.java:116)
<= /span>at org.wso2.carbon.identity.mgt.mail.AbstractEmailSendingModule.notifyUser(Abs= tractEmailSendingModule.java:59)
<= /span>at org.wso2.carbon.identity.mgt.NotificationSendingModule.run(NotificationSend= ingModule.java:33)
<= /span>at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)=
<= /span>at java.util.concurrent.FutureTask.run(FutureTask.java:262)
<= /span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1= 145)
<= /span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:= 615)
<= /span>at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.axis2.AxisFault: Error creating mail message or sending it to the configured server
<= /span>at org.apache.axis2.transport.base.AbstractTransportSender.handleException(Abs= tractTransportSender.java:226)
<= /span>at org.apache.axis2.transport.mail.MailTransportSender.sendMail(MailTransportS= ender.java:505)
<= /span>at org.apache.axis2.transport.mail.MailTransportSender.sendMessage(MailTranspo= rtSender.java:175)
<= /span>... 14 more
Caused by: javax.mail.AuthenticationFailedException
<= /span>at javax.mail.Service.connect(Service.java:306)
<= /span>at javax.mail.Service.connect(Service.java:156)
<= /span>at javax.mail.Service.connect(Service.java:105)
<= /span>at javax.mail.Transport.send0(Transport.java:168)
<= /span>at javax.mail.Transport.send(Transport.java:98)
<= /span>at org.apache.axis2.transport.mail.MailTransportSender.sendMail(MailTransportS= ender.java:494)
<= /span>... 15 more


I am attaching my pga_conf.php file and also, the email-admin-config.xml file.

Also, I am attaching the screenshots of my tenant details and service provider details.=C2=A0

Can you tell me what am I missing out or if I have made a mistake in the pga_config.php file ?


--
Thanks & Regards,
Abhishek Jain

Gradua= te Student
Depart= ment of Computer Science
Thomas J. Watson School of Engineering & Applied Science
Bingha= mton University - State Univeristy of New York (SUNY)






--
Thanks & Regards,
Abhishek Jain

Graduate Student<= /div>
Department of Computer Science
Thomas J. Watson School of Engineering & Applied Science
Binghamton University - State Univeristy of New York (SUNY)<= /div>






--
Thanks & Regards,
A= bhishek Jain

Graduate Student
Dep= artment of Computer Science
Thomas= J. Watson School of Engineering & Applied Science
Binghamton University - State Univeristy of New York (= SUNY)





--
=
Thanks & Regards,
Abhishek Jain

Graduate Student
Department of Computer Science
Thomas J. Watson School of Engineering & Applied Science
Binghamton University - State Univeristy = of New York (SUNY)





--
Thanks &am= p; Regards,
Abhishek Jain

Graduate Student
Department of Computer Science
Thomas J. Watson School of Engineering & A= pplied Science
Binghamton Universi= ty - State University of New York (SUNY)





--
Thanks &am= p; Regards,
Abhishek Jain

Graduate Student
Department of Computer Science
Thomas J. Watson School of Engineering & A= pplied Science
Binghamton Universi= ty - State University of New York (SUNY)






--
Thanks & Regards,
A= bhishek Jain

Graduate Student
Dep= artment of Computer Science
Thomas= J. Watson School of Engineering & Applied Science
Binghamton University - State Univeristy of New York (= SUNY)


--94eb2c05d19c73d32005342bdb7a--