Using Microsoft CDO Options, I can be able to send the E-Mail(O365) from 3 Maild ID to others using VBA, now after renaming the 2 Mail Id's, I can't be able to send the Mail

Murali Veeramani 1 Reputation point
2021-12-04T03:31:47.147+00:00

Hi Microsoft Team,
Good Morning. I can be able to send Outlook E-Mail (from 3 Mail Ids) to others using CDO in VBA. Now I renamed two of the Mail Id's and I couldn't be able to sent the E-Mails. The Mail was renamed some 1 week back.

`The following error has shown:

154982-image.png

If I Change the Send SMTP Port Number : 587

154973-image.png

For The Mail Id : ******@pxxxxxxxxc.in (Microsoft 365 Business Standard) - Working
******@pxxxxxxxxc.in (Microsoft 365 Business Basic) - Working
******@pxxxxxxxxc.in (Microsoft 365 Business Basic) - Working

Now I Changed to the Mail Id's
******@pxxxxxxxxc.in (Microsoft 365 Business Standard) - Working
******@pxxxxxxxxc.in (Microsoft 365 Business Basic) - Not Working
******@pxxxxxxxxc.in (Microsoft 365 Business Basic) - Not Working

Please give me a Solution for this.

Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business
Microsoft 365 and Office | Excel | For business | Windows
Developer technologies | Visual Basic for Applications
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.