1785
Views
15
Comments
Solved
Unable to send email
Question

Hi


I am trying to send an email from my module. Have done the email configurations in service center, but not sure if they are correct. Now I am unable to send emails, its getting error log as attached in the picture.


Please guide me with the configuration if they are wrong.


Thanks

Sahaduna

UserImage.jpg
Sahaduna
Solution

Hi All,


https://www.outsystems.com/forums/discussion/21131/email-sent-by-personal-environment-is-not-working-fine/#Post82641


This discussion helped. After clicking Display unlock Captcha the previous pending mails are also flowing in my inbox.

Thanks everyone

2016-04-21 20-09-55
J.
 
MVP

Hi,


as you can see the error message tells you about the username/pwd are incorrect.

and a link to "Bad Credentials". I suggest to follow that link first and check if you have the right credentials etc.



2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Sahaduna,

I normally provide the google email address in Username (like the one you set at default sender email.

And than the password that belongs to that email.

Regards,

Daniel


2020-02-28 09-46-54
Eduardo Jauch

Hello Sahaduna,

Recently Google changed something and a previously working installation that used google gmail smtp stoped working. I was unable to find a solution and had to resort to other SMTP. Probably something related with security, that requires some extra configuration in the GMAIL side.

I would advise that if you don't have a lot of time trying to figure out what is the problem, to change the smtp server.

Cheers.

2025-04-22 05-54-18
Shashi Kant Shukla

Hi Sahaduna,

Please change the SMTP and try, I think it should work it is related to SMTP issue.


Regards

-SK-

2018-11-06 14-26-44
Suraj Borade

In addition to Eduardo's reply,

Someone recently gave me this link https://www.wpsitecare.com/gmail-smtp-settings/ to check settings in my personal environment are working or not. I have not checked yet but you can have a look.

UserImage.jpg
Sahaduna

Thanks all for your responses.


Previously I gave wrong credentials and hence it was throwing the error. Now have corrected the same.

Now I am getting an application error as attached.

2018-11-06 14-26-44
Suraj Borade

Please paste the error part only. Not full image is shown.

UserImage.jpg
Sahaduna

Suraj Borade wrote:

Please paste the error part only. Not full image is shown.

Error creating Email. The remote server returned an error: (500) Internal Server Error.


Capture.PNG
2018-11-06 14-26-44
Suraj Borade

Hi Sahaduna,

Please check the contents which are being sent to Email. User to whom you are sending the mail might not be present or maybe deactive.


If possible share log from the service centre.

UserImage.jpg
Sahaduna

Suraj Borade wrote:

Sahaduna wrote:

Suraj Borade wrote:

You can have a look at these posts.

https://www.outsystems.com/forums/discussion/16490/error-creating-email-no-emailid-was-returned/

https://www.outsystems.com/forums/discussion/26181/emailexception-error-creating-email-the-operation-has-timed-out-in-100s/

https://success.outsystems.com/Documentation/10/Reference/Processes/Process_Tools/Send_Email

Hi Suraj,,


Attaching the error log from service studio.



Sorry for incomplete request. Can you please paste that error with details and full stack trace?

Hi Suraj,

The system error was a minor change from my module, which was corrected and now both the errors are gone,


But I am getting the attached error now, asking to login in the browser.

If you could see the right corner, I have logged in the web browser with my gmail account, still the error persists.


Capture5.PNG
UserImage.jpg
Sahaduna
Solution

Hi All,


https://www.outsystems.com/forums/discussion/21131/email-sent-by-personal-environment-is-not-working-fine/#Post82641


This discussion helped. After clicking Display unlock Captcha the previous pending mails are also flowing in my inbox.

Thanks everyone

UserImage.jpg
Irvin Border

Some apps and email clients doesn't meet Gmail security standards , they use less secure technologies to log you into Gmail account , and servers blocks these requests by default. In order to resolve this issue, log in to your Gmail account through a web browser and enable access through less secure apps.

To enable "less secure" email programs to access Gmail:

  •     Log into your GMAIL account.
  •     Navigate to the 'Less secure apps' page.
  •     Toggle to turn this feature 'ON'.
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.