cancel
Showing results for 
Search instead for 
Did you mean: 

unable to send mail messages in blueprism

Haribp
Level 3
Hi Team,

While I am trying to send message by using "send message" activity , I am getting below error,

Internal : Could not execute code stage because exception thrown by code stage: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. Learn more at

kindly suggest me how to resolve the issue. Thanks in advance.

------------------------------
Hari bp
------------------------------
6 REPLIES 6

Neel1
MVP
Hello Hari- Did you run the configure action first with correct details  available in this VBO.

------------------------------
Neeraj Kumar
Technical Architect
------------------------------

Devendra_KumarP
Level 7
Hi Hari, 
First run configure SMTP then run send email. Make sure you give correct parameters for the configure SMTP.

------------------------------
Devendra Kumar Prajapati
RPA Manager
Infosys
Chandigarh, India
------------------------------
Devendra Kumar Prajapati RPA Manager Infosys Chandigarh, India

Hi Neeraj,
I Have run the configuration action first. and 1 month back same process was ran successfully but now its throwing error.
FYI Please find below SS.26595.png
26596.png

------------------------------
Hari bp
------------------------------

Hi @Haribp,

​I hope those screenshots don't contain actual username/password info for an account you care about. 😬 If they do, you want to remove them and resubmit with the sensitive information redacted.

Cheers,

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi @Haribp

Did you configure this Gmail account to accept connections for external sites? 

You must to enable this option in the account. Here you have a link of how to do this: https://support.google.com/mail/answer/7104828?hl=en

I have also found interesting this Stack Overflow article for this error, check it if the solution of enabling the POP3 and SMTP settings didn't works: https://stackoverflow.com/questions/20906077/gmail-error-the-smtp-server-requires-a-secure-connection-or-the-client-was-not


Hope this helps you!

See you in the Community, bye 🙂

------------------------------
Pablo Sarabia
Solution Manager & Architect
Altamira Assets Management
Madrid
------------------------------

Hi @PabloSarabia

Thanks for the information. It was really helpful.

Setting up POP server in Gmail was successful. 

Later I had received the same error message. The issue was due to email client server. 

Email sending,

To send emails using the Gmail server enter these details:

SMTP Host: smtp.gmail.com
SMTP Port: 587
Encryption: TLS
SMTP Username: (your Gmail username)
SMTP Password: (you need to use a Google App Password, not your Gmail password!)

Then I was able to execute it successfully. 

Hope this may help for the beginner.

Thanks,

Nithya 



------------------------------
Nithya Vallikkannu
------------------------------