06-28-2019 08:36 AM
06-28-2019 08:36 AM
please suggest help me way to deny/allow some user can use smtp office365.
06-28-2019 08:46 AMSolution
06-28-2019 09:25 AM
@Christopher Hoard SO if I need allow one user can use smtp then only need allow POP3 and IMAP ?
06-28-2019 09:45 AM
06-30-2019 06:54 PM - edited 06-30-2019 06:58 PM
@Christopher Hoard 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 email@example.com –To firstname.lastname@example.org –Subject “Test Email” –Body “Test SMTP Relay Service” -SmtpServer smtp.office365.com -Credential $cred -UseSsl -Port 587
07-01-2019 01:56 AM - edited 07-01-2019 04:09 AM
Try this on the mailbox which is causing the issue.
Set-CASMailbox mailboxname -SmtpClientAuthenticationDisabled $true
Let me know how it goes
07-01-2019 02:06 AM - edited 07-01-2019 02:07 AM
@Christopher Hoard We use hybrid office 365 , what happen if disable smtp ? current email we user web , outlook , mobile .
please suggest help me and if disbale this only effect these user use powershell then ok .
how to disbale smtp as default when add new mailbox office365 ?
07-01-2019 02:11 AM
07-01-2019 03:03 AM
I just try disbale smtp then user now can not send smtp
Thanks your support
07-01-2019 03:06 AM
07-01-2019 04:01 AM
I needed disable smtp and now i got it from your support . but please note is when disbale POP and IMAP then smtp still allow not disbale that need runnning your commnad guide to disable it if need
thanks your support again
This parameter is available only in the cloud-based service.
The SmtpClientAuthenticationDisabled parameter specifies whether to disable authenticated SMTP (SMTP AUTH) for the mailbox. Examples of clients and services that require authenticated SMTP to send email messages include:
POP3 and IMAP4 clients.
Devices with scan to email capability.
Workflow applications that send email notifications.
Online services that send messages using internal email addresses in the organization.
Valid values for this parameter are:
$true: Authenticated SMTP is disabled for the mailbox.
$false: Authenticated SMTP is enaled for the mailbox.
blank ($null): This is the default value. The authenticated SMTP setting for the mailbox is controlled by the corresponding SmtpClientAuthenticationDisabled parameter on the Set-TransportConfig cmdlet for the whole organization. By default, authenticated SMTP is enabled for the organization ($false), which means authenticated SMTP is also enabled for the mailbox