You might need to log in to your Gmail account through a web browser and enable access through less secure apps for this to work if you haven't already.
On Sat, Mar 7, 2020 at 11:18 AM Ashim Kapoor <[email protected]> wrote: > Hi there, > > When I switch to port 465, it allows submission but not user registration. > > Here is the output:- > > > root@DSpace:/home/dspace/dspace-install/bin# ./dspace test-email > > About to send test email: > - To: [email protected] > - Subject: DSpace test email > - Server: smtp.gmail.com > > Error sending email: > - Error: javax.mail.SendFailedException: Send failure > (javax.mail.MessagingException: Could not connect to SMTP host: > smtp.gmail.com, port: 465, response: -1) > > Please see the DSpace documentation for assistance. > > > > root@DSpace:/home/dspace/dspace-install/bin# > > On Sat, 7 Mar 2020 at 10:39, Ashim Kapoor <[email protected]> > wrote: > >> Dear Ayuka, >> >> I switched to port 587. >> >> Now I am able to submit an item to a Collection. However I am not able to >> register a new user. It says "Unable to send email to this address". >> >> Also earlier I never mentioned the ports you have mentioned. Why was it >> working fine earlier without the ports? >> >> Please see below:- >> root@DSpace:/home/dspace/dspace-install/bin# ./dspace test-email >> >> About to send test email: >> - To: [email protected] >> - Subject: DSpace test email >> - Server: smtp.gmail.com >> >> Error sending email: >> - Error: com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue >> a STARTTLS command first. d77sm25077809pfd.109 - gsmtp >> >> >> Please see the DSpace documentation for assistance. >> >> >> >> root@DSpace:/home/dspace/dspace-install/bin# >> >> On Fri, 6 Mar 2020 at 18:06, Ayuka Phanuel <[email protected]> >> wrote: >> >>> I think you need to change the SMTP Port from default to the GMAIL Ports >>> as below. >>> Gmail SMTP port (TLS): 587 >>> Gmail SMTP port (SSL): 465 >>> >>> Port 587 is your best bet. >>> >>> >>> >>> On Fri, Mar 6, 2020 at 3:17 PM Ashim Kapoor <[email protected]> >>> wrote: >>> >>>> Dear Bram and Adam, >>>> >>>> When I do this [dspace]/bin/test-email >>>> >>>> I get this : >>>> >>>> About to send test email: >>>> - To: [email protected] >>>> - Subject: DSpace test email >>>> - Server: smtp.gmail.com >>>> >>>> It is frozen at this place. >>>> >>>> The Email section in local.cfg looks like this (the filled in entries >>>> are denoted by xxx) :- >>>> >>>> # SMTP mail server (allows DSpace to send email notifications) >>>> mail.server = smtp.gmail.com >>>> >>>> # SMTP mail server authentication username and password (if required) >>>> mail.server.username = xxx >>>> mail.server.password = xxx >>>> >>>> # SMTP mail server alternate port (defaults to 25) >>>> mail.server.port = 25 >>>> >>>> # From address for mail >>>> # All mail from the DSpace site will use this 'from' address >>>> mail.from.address = xxx >>>> >>>> # When feedback is submitted via the Feedback form, it is sent to this >>>> address >>>> # Currently limited to one recipient! >>>> feedback.recipient = xxx >>>> >>>> # General site administration (Webmaster) e-mail >>>> mail.admin = xxx >>>> >>>> # Recipient for server errors and alerts (defaults to mail.admin) >>>> #alert.recipient = ${mail.admin} >>>> >>>> # Recipient for new user registration emails (defaults to unspecified) >>>> #registration.notify = >>>> >>>> On Thu, 5 Mar 2020 at 21:03, Adan <[email protected]> wrote: >>>> >>>>> Hi >>>>> >>>>> Check your email configuration, or disable it and try again. >>>>> It can be a bottle-neck if it have bad configuration. >>>>> >>>>> Regards >>>>> Adan >>>>> >>>>> Dear all, >>>>> >>>>> [1]. When I try to register a new user in the following link :- >>>>> >>>>> http://192.100.30.xxx:8080/xmlui/register >>>>> >>>>> It is taking a very long time. >>>>> >>>>> [2]. When I try to submit an item it again takes a very long time. >>>>> >>>>> I am running DSpace 6.3 on a Debian 10.3 Virtual Machine with 4 GB of >>>>> RAM. I have java - adoptopenjdk-8-hotspot-amd64. Postgres 11.7. Tomcat9 >>>>> My /etc/default/tomcat9 has the following lines : >>>>> >>>>> JAVA_HOME =/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64 >>>>> JAVA_OPTS="-XX:+UseG1GC -Djava.awt.headless=true -Xmx512M -Xms64M >>>>> -Dfile.encoding=UTF-8" >>>>> >>>>> Can someone please help me ? >>>>> >>>>> >>>>> Thank you, >>>>> Ashim >>>>> -- >>>>> All messages to this mailing list should adhere to the DuraSpace Code >>>>> of Conduct: https://duraspace.org/about/policies/code-of-conduct/ >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "DSpace Technical Support" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/dspace-tech/CAGEJAoGi%3DKi_6PG2XQywSCmzpnZ6ttBXtPPiarCm7YuHDTpbmA%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/dspace-tech/CAGEJAoGi%3DKi_6PG2XQywSCmzpnZ6ttBXtPPiarCm7YuHDTpbmA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>>> >>>>> >>>>> >>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> >>>>> Libre >>>>> de virus. www.avast.com >>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> >>>>> <#m_2031120924516411651_m_-2546016888395237288_m_1779339107278990096_m_-6973303217672411926_m_6093451944195230599_m_-3374357094633476904_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >>>>> >>>>> -- >>>>> All messages to this mailing list should adhere to the DuraSpace Code >>>>> of Conduct: https://duraspace.org/about/policies/code-of-conduct/ >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "DSpace Technical Support" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/dspace-tech/39d617ec-d636-54e9-b24d-a396cf1838c9%40gmail.com >>>>> <https://groups.google.com/d/msgid/dspace-tech/39d617ec-d636-54e9-b24d-a396cf1838c9%40gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>>> All messages to this mailing list should adhere to the DuraSpace Code >>>> of Conduct: https://duraspace.org/about/policies/code-of-conduct/ >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "DSpace Technical Support" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/dspace-tech/CAGEJAoGvgcBgzrpNgRq8OJrR0ROb23mra%2BVZ1FPA5KjRBpqZNw%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/dspace-tech/CAGEJAoGvgcBgzrpNgRq8OJrR0ROb23mra%2BVZ1FPA5KjRBpqZNw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAOSLvwwPvj6zB7nq3UN4hbBtsBEbkQU4y6n4MLmE-8vAwCEZ7Q%40mail.gmail.com.
