cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with the Sending Email Test step

SOLVED
Highlighted
New Contributor

Problem with the Sending Email Test step

Hi,

 

Trying to run an email test step without any success. I have no clue why it does not work and I have been in touch our system administrator to make sure the properties are correct which they are. However, when I logged into https://login.microsoftonline.com I hade to chose an authenticator in order eto loggin so I wonder if that might interfere? I do not get any reaction at all when I press "run" to it is very hard to understand where the problem is located. Can you see any issues with the setup or have you guys had any issues running this test step?

fiddelush_0-1593604466364.png

Regards,

 

Fred

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Staff

Re: Problem with the Sending Email Test step

Hi @fiddelush,

Your settings look well, except for SMTP Mail Host which is supposed to be smtp.office365.com, not http://smtp.office365.com.

Also, @richie is right regarding some security options that should be enabled in your Office365 account. I guess there is an option similar to Google’s “less secure applications” in Office365 so I recommend that you look through this, as well.

If the test step still does not work for you, please submit a case here.


Julia

Customer Care Team

Did my reply answer your question? Please give Kudos or Accept it as a Solution to help others.

View solution in original post

4 REPLIES 4
Highlighted
Community Hero

Re: Problem with the Sending Email Test step

Hey @fiddelush,

I've only played briefly with this test step before, but i remembered reading something about the step only being possible with limited security options. I thought maybe only TLS no SSL, but having a new look at the page it doesnt mention SSL at all.

However. You mention that you are prompted to select an authenticator when trying to login and if this is the case, when you run the testcase this means the endpoint is waiting for a client response that never occurs so id suggest this is the hurdle you need to overcome for now (at least until you stumble over another).

You normally get the authenticator prompt from MS if youre trying to logon to an account via an unrecognised machine. Can you login to the email account first (and do the additional authenticator select step...maybe send an email for good measure), dont clear your cookies and cache and then try running the send email test step? Surely that should get rid of the authenticator select option once the endpoint recognises your client?

Your endpoint doesnt require dual authentication for each logon attempt or anything like that does it?

Need to highlight that this is just a guess on my part based on the help and the issur youve described.

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
Highlighted
Community Manager

Re: Problem with the Sending Email Test step

Thank you Richie!

@fiddelush I'd definitely try what Richie is suggesting here, and, here's my two cents, the documentation article that might also give you some ideas: https://support.smartbear.com/readyapi/docs/soapui/steps/send-email.html

 

Please share your progress with us. Have you solved this one?


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
New Contributor

Re: Problem with the Sending Email Test step

Hello,

 

I tried to login at https://login.microsoftonline.com/  just to authorize the device. I then runned the test-step without any success. So I am prety much at the same situation as before and don't really know what to do.

 

Anyway, thank you for your support!!

 

Regards,

 

Fred

Highlighted
Staff

Re: Problem with the Sending Email Test step

Hi @fiddelush,

Your settings look well, except for SMTP Mail Host which is supposed to be smtp.office365.com, not http://smtp.office365.com.

Also, @richie is right regarding some security options that should be enabled in your Office365 account. I guess there is an option similar to Google’s “less secure applications” in Office365 so I recommend that you look through this, as well.

If the test step still does not work for you, please submit a case here.


Julia

Customer Care Team

Did my reply answer your question? Please give Kudos or Accept it as a Solution to help others.

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors