What should I do if my activity keeps saying "the operation has timed out"

I have tried both exchange and smtp activity but neither worked either. Back to the beginning. Can anybody help me to figure out?

@kjy031710

Check if you have the exchange and SMTP server url’s whitelisted on the network. I can think of only this possible reason for now.

Hi @kjy031710 ,

I am assuming you are facing this issue in office365, if this is the case check the below actions

First Verify: Can Outlook / Mail Work Manually?

Before testing in UiPath, check manually:

  • Open Microsoft Outlook
  • Send a test email

If manual send fails , the problem is with:

  • Mail server
  • Account authentication
  • Network restrictions

UiPath will also fail in that case.

if you are able to send the mail manually , Can you check are we using the same configuration in the SMTP Activity?

Server: smtp.office365.com
Port: 587
SecureConnection: StartTLS

if not change the configuration according to this and do let me know. IF Multi Factor Authentication enabled you need to create the app password and use the app password in the password field instead of Mail Password

Check these configuration and do let me know if this info helps

Thanks,
NaNi