#1 2020-08-28 23:25:03

slickpk
Member
Registered: 2020-08-28
Posts: 2

Unable to send report via e-mail

I am having trouble sending a report through the mail. I am getting quite a few different errors. I have used Yahoo and Gmail.

For Yahoo, i see the following error:
java.lang.RuntimeException: javax.mail.AuthenticationFailedException: 535 5.7.0 (#AUTH005) Too many bad auth attempts.

For Gmail , i see the following error:
java.lang.RuntimeException: javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted.

right now i have it set up for gmail in my mail.cf file:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
   <smtp>
      <host>smtp.gmail.com</host>
      <port>587</port>
      <username>myemail@gmail.com</username>
      <password>mypw</password>     
      <ssl>false</ssl>
      <tls>
         <enable>true</enable>
         <require>true</require>
      </tls>
   </smtp>
   <mail>
      <sender>rs@host.net</sender>
      <senderName>ReportServer</senderName>
      <forceSender>false</forceSender>
      <encryptionPolicy>allow_mixed</encryptionPolicy>
   </mail>
</configuration>

Can someone guide me to what i am doing wrong, please? I have looked at the documentation, but that is not been very helpful.

Offline

#2 2020-08-31 11:26:19

eduardo
Administrator
Registered: 2016-11-01
Posts: 1,789
Website

Re: Unable to send report via e-mail

Hi slickpk,

the errors you show come from your email clients. These should be self-explanatory:

(#AUTH005) Too many bad auth attempts.

Username and Password not accepted.

Regards,
Eduardo

Offline

Board footer

Powered by FluxBB