Forum Discussion
Tien Ngo Thanh
Jun 28, 2019Iron Contributor
How to deny/allow some user can use smtp office365 ?
hi please suggest help me way to deny/allow some user can use smtp office365. Best Regards, Thanks
- Jun 28, 2019Hi Tien Ngo Thanh,
SMTP is usually used with POP3 configuration - so the easiest answer to this is to disable POP3 and IMAP4 protocols on the users mailboxes in the Exchange Online Admin Centre or via Powershell
https://docs.microsoft.com/en-gb/exchange/troubleshoot/configure-mailboxes/pop3-imap-owa-activesync-office-365
Hope that helps to answer your question!
Best, Chris
Jun 28, 2019
Hi Tien Ngo Thanh,
SMTP is usually used with POP3 configuration - so the easiest answer to this is to disable POP3 and IMAP4 protocols on the users mailboxes in the Exchange Online Admin Centre or via Powershell
https://docs.microsoft.com/en-gb/exchange/troubleshoot/configure-mailboxes/pop3-imap-owa-activesync-office-365
Hope that helps to answer your question!
Best, Chris
SMTP is usually used with POP3 configuration - so the easiest answer to this is to disable POP3 and IMAP4 protocols on the users mailboxes in the Exchange Online Admin Centre or via Powershell
https://docs.microsoft.com/en-gb/exchange/troubleshoot/configure-mailboxes/pop3-imap-owa-activesync-office-365
Hope that helps to answer your question!
Best, Chris
- Tien Ngo ThanhJun 28, 2019Iron Contributor
ChrisHoardMVP SO if I need allow one user can use smtp then only need allow POP3 and IMAP ?
- Jun 28, 2019Correct - it can be managed on a mailbox by mailbox basis so you can turn on or leave one on. To be exact it is only disabling POP3 protocol as SMTP is used alongsisde POP3 for the outbound, however we tend to manage IMAP alongside POP3 as both are considered legacy protocols.
Hope that clarifies!
Best, Chris- Tien Ngo ThanhJul 01, 2019Iron Contributor
ChrisHoardMVP How long effect after disbale pop and imap . Because I just try disbaled one user but this command below as still sent email
Send-MailMessage –From test@test.com –To test1@test.com –Subject “Test Email” –Body “Test SMTP Relay Service” -SmtpServer smtp.office365.com -Credential $cred -UseSsl -Port 587
Best regards,
Thanks