Wim Posted December 10, 2010 Posted December 10, 2010 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.
Smef Posted December 10, 2010 Posted December 10, 2010 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.
Wim Posted December 10, 2010 Author Posted December 10, 2010 Thanks! Turned out I had an extra space in the username field....stupid mistake.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now