SMPT DEPRECATION

There is a global change in SMPT Mail configuration.

Do we need to change the flow by replacing the SMTP activity in UiPath also.

Hi @Gokul_Murali

No code change is required in most cases.

Explanation:
If the SMTP server / port / security is updated globally (same protocol), you only need to:

  • Update Orchestrator β†’ Tenant β†’ Settings β†’ SMTP
  • Or update Windows Credential / config values used by the bot

You do NOT need to replace the SMTP activity in UiPath unless:

  • Authentication method changed (Basic β†’ OAuth)
  • SMTP provider changed (e.g., on-prem β†’ Office 365)
  • Port / TLS requirements are no longer supported by current package

If only config changed β†’ update settings
If auth method changed β†’ update workflow

Regards,
Gokul

@Gokul_Murali

If you are talking about microsoft smtp mails then basic auth is being removed if that is being used then you need to change it to OAuth authentication as microsoft is deprecating basic/simple auth

if not no change is needed. also going forward it would be better to use integration services to create connections and send emails instead of smtp activities to avoid any disruption

cheers

Yesterday i ran the process it went well.

Is there any release notes from the UiPath side

If yes can anyone share it.

@Gokul_Murali

depreciation is from microsoft side and not UiPath

cheers

1 Like

I have used the below configuration

image

in the below activity

@Gokul_Murali

What is the authentication being used

Cheers

This is the configuration i have used

@Gokul_Murali

This auth looks like basic auth..if so it would not work after march 2026 ..so better to move to oauth by then..for getting oauth you might need to upgrade your mail packages..in the same activity you would get oauth option and can connect using it

Cheers

1 Like

@Anil_G

How can i configure the oauth in the same activity

1 Like

Hi @Gokul_Murali

You can’t fully configure OAuth inside the legacy SMTP activity.

To use OAuth:

  • Project must be Windows (not Windows-Legacy)
  • Update UiPath.Mail.Activities
  • Set Use OAuth = True
  • Fill:
    • OAuthTenantId
    • OAuthClientId
    • OAuthClientSecret
  • Leave Password empty
  • SMTP:
    • smtp.office365.com
    • Port 587
    • TLS

If OAuth fields don’t appear β†’ convert project to Windows or use Send Outlook Mail Message (Modern).

Regards,
Gokul

1 Like

Hi @Gokul_Murali
No, you usually don’t need to change the flow logic itself.

If the global SMTP mail configuration is updated (server, port, credentials, TLS, etc.) and your SMTP activity is using those same settings, then updating the configuration is enough. The existing SMTP activity will continue to work with the new settings.

You only need to modify or replace the SMTP activity if:

  • The authentication method has changed (for example, basic auth to OAuth)
  • The SMTP server or port is different and hardcoded in the workflow
  • You are moving to a different mail activity (like Outlook 365 / Graph API)

Otherwise, just updating the global SMTP configuration should be sufficient.

1 Like

@Gokul_Murali

Check that box and then use the oauth creds in password field

cheers

@Anil_G

it is showing that we cant enter the auth credential in the password field.

How can we config this.

@Gokul_Murali

please dont go with LLM answers they might be wrong. please check official documentation. It accepts Oauth access token

Also you can use exchange scope activities as well

cheers

@Anil_G

Thanks for the information.

Can you suggest how to create the auth tokens to use it in the same activity

1 Like

@Gokul_Murali

Here are detailed steps..you need a azure app which would give you credentials to connect

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.