I am trying to send the email through the debugger i found an error that its showing unavailable in current context.
Hello,
This is not an error but email is not part of current context so debugger not able to display any details about it.
Can you please explain what is the problem you are facing?
If email is not sent you may need to review SMTP configuration into service center and make sure its correct.
Also if this non production environment so may be emails configured to sent to testing list or specific email Id. You can check this from service center -> administration -> Email
I have tried from every possible posts related to see this but i am not able to see where my error lies as its not showing in debugger as well and i dont know what to do as i have shared the screenshot thats the only problem i have
Did you check service center?
From Monitoring -> errors to check if there is any error happened then check Monitoring -> Emails to see if mail sent or not
This is the error its showing me and some of the emails are pending and some are showing this below error
This error means password is required, so you don't have any issue into your code or application.
The issue related to SMTP configuration. Are you using Gmail to send email or your company SMTP server?
I am using my gmail for now to test i am not able to run on my companies smtpWhat should be done for the password as i have updated my password and changed there now its showing me pending no error
By the way pending means no errors but still SMTP didn't sent email to receiver.
Please check below post for configuring Gmail as SMTP:
https://www.outsystems.com/forums/discussion/82829/sending-email-using-gmail-smtp-server/
Hi Manan,
Please look into below link it will help you.
https://www.outsystems.com/forums/discussion/36616/unable-to-send-email/
or also check this:
https://www.outsystems.com/forums/discussion/21131/email-sent-by-personal-environment-is-not-working-fine/#Post82641
Regards,
Rajat
Hi,
Please check the following documentation that might help you manage to send emails.
Configuration: https://success.outsystems.com/documentation/11/managing_outsystems_platform_and_application_lifecycle/configure_outsystems_to_send_emails/
Login to Send Emails: https://success.outsystems.com/documentation/11/building_apps/sending_emails_from_apps/sending_emails/
"An app password is a 16-digit passcode that gives a less secure app or device permission to access your Google Account. App passwords can only be used with accounts that have 2-Step Verification turned on." Reference : https://support.google.com/accounts/answer/185833?hl=en#zippy=%2Cwhy-you-may-need-an-app-password%2Capp-passwords-revoked-after-password-change
As suggested by @Mostafa Othman , you need to create an app password if you want to use Gmail to send emails from OutSystems.
Hi Hanan,
An e-mail is not something the debugger can show any values of. The "-unavailable in current context-" message just means "I cannot show anything useful of this object".