I am trying to send an email through a standalone activity with one step in it where i call the OOTB email sending acitivity. But when i execute and trace the activity i see the below errors in tracer.
I am using gmail in Email Account. Test Connectivity was successful. but i see the below error. I am just calling "Work-.SendSimpleEmail" activityand passing the parameters as shown in screenshot.
[MSG][Failed to send email][STACK][com.pega.platform.integrationcore.client.email.EmailClientException: Unable to send email due to : 530 5.7.0 Must issue a STARTTLS command first. h3sm9333849qkf.15 - gsmtp at com.pega.platform.integrationcore.client.email.internal.javamail.JavaEmailClient.sendEmail(JavaEmailClient.java:437) at com.pega.platform.integrationengine.client.email.internal.PegaEmailClientImpl.sendEmail(PegaEmailClientImpl.java:193) at com.pegarules.generated.pxSendEmail_080101_8831695322219000742.pxSendEmail08_01_01(pxSendEmail_080101_8831695322219000742.java:111) at com.pegarules.generated.pxSendEmail_080101_8831695322219000742.invoke(pxSendEmail_080101_8831695322219000742.java:72) at ..................................................
Email/DisableSecuritySTARTTLS is already set to "True"
I also tried using our outlook mail id. setting smtp host : "email.nt.lab.com".
Using Outlook ID I could see "Write Index" step in tracer with record name as DATA-CORR-EMAIL EMAIL #followed by timestamp.
But no mail has been sent. I even set BatchSend to false.
can you please try using SendemailNotification - Activity (it doesn't take the Account name - it takes al the inputs in parameters) SendSimpleEmail Activity also uses this API internally, if that works we can check where this is going wrong while sending an email.