Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5108 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am trying to use the send emial with attachment script and just get a returned value of "ERROR". I am able to run the script using the scriptmaster file to successfully send email. I also run the RegisterGroovy step right before this step and get a result of "1" - which I think means it worked.

Here is my code:

Set Variable[$test; Value:SendEmailWithAuthentication( "[email protected]" ; " [email protected]" ; "Send Mail Test" ; "Test Body" ; "" ; "smtp.******.com" ;" wim@*****.com" ;"*****" )]

Any obviuos mistakes?

I checked SMLastError and its says javax.mail.AuthenticationFailedException but I have no idea what that means.

Posted

You're getting an "Authentication Failed" error, which means that there is a problem with your username, password, or you need to be using SSL and you aren't.

Posted

Thanks! Turned out I had an extra space in the username field....stupid mistake.

This topic is 5108 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.