Thank you, your video solved our issue after migrating to Microsoft 365, at least it works in PowerShell, and I will test on the printer next week. What I missed is, first I didn't use App word, second by default SMTP authentication is turned off on the mailbox. Hope this helps for whoever need it.
good job bro, just i have a something to tell you :) for the second and third option (as you explained and also as microsoft article confirm, there's no need for license to send emails but the script that you shared here ask all the time for credentials which mean UPN + password , do you have another script for the second and the third options ?? thanks in advance bro and bravo again
This is a great video. I hope you include the use of windows smtp service and make it work there. Especially the option number 3 in the microsoft article. Just 1 more question, what if there’s no exchange server or hybrid setup. You simply enable the smtp service on your windows server, will that that work? The reason why no exchange is because it was decommisioned. Any response wis highly appreciated. Thanks
Hello bro Where can we see those user accounts which has created for smtps. I could not see them EAC in all the paths like recipients, groups contacts, can you pls tell us about it
Hi man, thanks in advance for all your help related with content videos , btw It's been a long time since you uploaded the lastest video. Is there any way to mitigate direct send method only for an ip-range ? I mean in our company we have hibryd configuration and we need direct send can be used only for devices inside the company , so I wonder y we could disable direct send method from our Tenant or al least mitigate ip addresses.
Can you use Direct send and SMTP relay together or does it have to be one or the other ? Also, if you do not want to authenticate I was reading that SMTP direct or SMTP relay does not require authentication, Is that correct ?
Thanx for amazing video. I have On-Prem SAP Server & want to use option 1 SMTP Client submission. Ihave tried but stilll no luck. Can you clear my doubt should i usemodern authentication here? Please let me know i have to create app registration or not for modern authentication in O365 side& sap side?
For the SMTP Relay option, can you use an SSL Cert for the Mail Connector instead of a Public IP? Trying to configure smtp services in IIS w/o a Public IP. Maybe you still need that for the SPF too? Thank you.
I think the portion on the STMP Relay is wrong. If you send using the MX record it is not using the relay. The relay should be an internal server IP that's doing the sending,
Hello sir I have a real time issue scenario could you please give me solution Scan emails are not receiving for a user Ip address is already whitelisted, when I check in mail trace with sender id there are no email found, issue is persistent since 4 days.
@@charifsoudani8530 He asked about SMTP relay which it's not needed. A licensed Microsoft 365 or Office 365 mailbox is required only for Client submission to send email from.
Is this still relevant in 2024? Having a hard time getting an on-prem SMTP Relay set up and I don’t remember having so much trouble. Trying to use hmail, or Windows SMTP.
One thing i have observed in Direct send and SMTP Relay, you said they dont requires to have a mailbox, it can just be a email address, but we are still entering the password of email address, can you please explain?
Therefore, we highly recommend that you disable SMTP AUTH in your Exchange Online organization, and enable it only for the accounts (that is, mailboxes) that still require it So there is no need to set the transportconfig SmtpClinetAuthenticationDisabled to False
You don’t need an app password. You can just use the password for the mailbox and you will be able to authenticate
2 ปีที่แล้ว
Hi, Even though I did everything right, I get the error as below Send-MailMessage : Authentication failed because the remote party has closed the transport stream. At C:\Users\Administrator\Desktop\sendmail.ps1:14 char:1 + Send-MailMessage @mailParams + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpException + FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage
Hi I am receiving an error while doing Enable to Connector would you please help me to resolve it Error Failed to update the connector Error: Error executing request. For this service offering, you can't enable an inbound connector. Please contact Support to enable it. Organization '4fb648b6-ee0e-4019-b991-1450412e449f', Service Offering: 'O365_BUSINESS_PREMIUM'.
Hi, due to a recent change in M365 product, admins are not able to enable connectors. You need to create support ticket with MS along with a business justification to enable connector in your tenant.
It is one of the best Office 365 serials available online, not just on TH-cam. Thank you, you're the best!
As many have said, probably the best explanation about this! Good job
Thank you.
It is one of the best Office 365 serials available online, not just on TH-cam. Thank you, you're the best!
Thank you. Happy Learning!!
Excellent video bro
Finally someone explain smtp for office 365.!!! Thanks a lot.
in 14:00 the From: header can be anything right? like spoofed ?
Simple explanation with great understanding of the relay methods. :)
Thank you, your video solved our issue after migrating to Microsoft 365, at least it works in PowerShell, and I will test on the printer next week. What I missed is, first I didn't use App word, second by default SMTP authentication is turned off on the mailbox. Hope this helps for whoever need it.
Best technical presentation! ❤Content, flow, graphics and narration are excellent👏👏👏
Thank you.
How did you generate the app password to use option 1? It is not explained on the video.
The way of explanation with example is very very excellent, i have learnt from your office 365 admin series and got the job in same profile.
Glad to hear that. Happy learning!!
Amazing bro.... You are a Hero
good job bro, just i have a something to tell you :) for the second and third option (as you explained and also as microsoft article confirm, there's no need for license to send emails but the script that you shared here ask all the time for credentials which mean UPN + password , do you have another script for the second and the third options ?? thanks in advance bro and bravo again
Hi Cherif, any account also non licensed ones have password that you can use here
Top class❤❤❤
Thank you mate.
Great video!
This is a great video. I hope you include the use of windows smtp service and make it work there. Especially the option number 3 in the microsoft article.
Just 1 more question, what if there’s no exchange server or hybrid setup. You simply enable the smtp service on your windows server, will that that work? The reason why no exchange is because it was decommisioned.
Any response wis highly appreciated. Thanks
Very useful information
Excellent !!!
Best explanation so far on TH-cam for Office 365, great job and thx a lot 👏
Good explanation! I have one doubt For Direct and SMTP Replay do we have to assign a licence for the email ID to send mails?
no, it is only required in SMTP client submission
best explanation as July 2023. ;-)
Fantastic video - your communication, explanation, presentation are all the best I have seen so far from anyone.
Thanks a Ton. Keep watching!!
Hello bro
Where can we see those user accounts which has created for smtps. I could not see them EAC in all the paths like recipients, groups contacts, can you pls tell us about it
When you want to do relay from an application, we use Office 365 user/mailbox. Please go through the complete video, you will find all the answers.
which of these method is more secure?
Hi man, thanks in advance for all your help related with content videos , btw It's been a long time since you uploaded the lastest video. Is there any way to mitigate direct send method only for an ip-range ? I mean in our company we have hibryd configuration and we need direct send can be used only for devices inside the company , so I wonder y we could disable direct send method from our Tenant or al least mitigate ip addresses.
What if we want to use Tls cert instead of Ip?
Thanks. Any update/change on this as of 12-7-2023? Mail relay for internal exchange to cloud connection.
Can you use Direct send and SMTP relay together or does it have to be one or the other ?
Also, if you do not want to authenticate I was reading that SMTP direct or SMTP relay does not require authentication, Is that correct ?
You don't need to authenticate for smtp relay.
Thanx for amazing video.
I have On-Prem SAP Server & want to use option 1 SMTP Client submission. Ihave tried but stilll no luck.
Can you clear my doubt should i usemodern authentication here?
Please let me know i have to create app registration or not for modern authentication in O365 side& sap side?
Hi bro, How do you create app password for test user in client submission method?
Hi, what about onprem devices who have private IP address and not public? How to use direct send or relay in this case ?
For the SMTP Relay option, can you use an SSL Cert for the Mail Connector instead of a Public IP? Trying to configure smtp services in IIS w/o a Public IP. Maybe you still need that for the SPF too? Thank you.
can we conver SMTP relay email account into the shared account
Why would you use an 365 E3 license to for this job? You could use a M365 Business Basics license for a lot less per month.
Hi Ray, you can use basic license. This was for testing purpose only. Thanks for watching!
How do we identify if email is sent using smtp relay or direct send
Hi Manu, you can always refer to email header and check hops.
I think the portion on the STMP Relay is wrong. If you send using the MX record it is not using the relay. The relay should be an internal server IP that's doing the sending,
Can you please make a video that how to open port 25 using hostname (website) and computer 🖥
Hi MJRover, please refer to th-cam.com/video/MjXCzV_wL1I/w-d-xo.html
can you explain how to add a domain connector and not ip, I'm struggling to configure this.
regards
Hello bro can we chat
Hello sir
I have a real time issue scenario could you please give me solution
Scan emails are not receiving for a user Ip address is already whitelisted, when I check in mail trace with sender id there are no email found, issue is persistent since 4 days.
Can we use shared emailbox account to send notification emails to anyone? A sharedmailbox doesn't has username or password and smtp capabilites.
Hello brother I see your methode again and again why you don't show other first and second methode client auth to send email
for SMTP relay email address required office 365 license?
No
@@kabookeo the answer is yes for SMTP relay the first option the license is needed
@@charifsoudani8530 He asked about SMTP relay which it's not needed. A licensed Microsoft 365 or Office 365 mailbox is required only for Client submission to send email from.
Is this still relevant in 2024? Having a hard time getting an on-prem SMTP Relay set up and I don’t remember having so much trouble. Trying to use hmail, or Windows SMTP.
One thing i have observed in Direct send and SMTP Relay, you said they dont requires to have a mailbox, it can just be a email address, but we are still entering the password of email address, can you please explain?
Hi, A user account without license also has a password.
@@Office365Concepts o got you Sir. Thanks a lot for your quick response. You r really great...
Can you provide us SharePoint online content also
Therefore, we highly recommend that you disable SMTP AUTH in your Exchange Online organization, and enable it only for the accounts (that is, mailboxes) that still require it
So there is no need to set the transportconfig SmtpClinetAuthenticationDisabled to False
How do i create this app password ?
May I get the response please
When you want to do relay from an application, we use Office 365 user/mailbox. Please go through the complete video, you will find all the answers.
Office accounts have a limitation on the number of emails that can be sent per day. It's not a great solution if the app needs scalability.
How I make SMTP aap password you don't explain
It's not SMTP app password, it's MFA app password
@Office365Concepts kaise banae bhai
Sir, could you explain how to generate App Password?
Hi, please refer to below link:
support.microsoft.com/en-us/account-billing/manage-app-passwords-for-two-step-verification-d6dc8c6d-4bf7-4851-ad95-6d07799387e9
You don’t need an app password. You can just use the password for the mailbox and you will be able to authenticate
Hi, Even though I did everything right, I get the error as below
Send-MailMessage : Authentication failed because the remote party has closed the transport stream.
At C:\Users\Administrator\Desktop\sendmail.ps1:14 char:1
+ Send-MailMessage @mailParams
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.Mail.SmtpClient:SmtpClient) [Send-MailMessage], SmtpException
+ FullyQualifiedErrorId : SmtpException,Microsoft.PowerShell.Commands.SendMailMessage
did you install the exchange online module in powershell
Hi I am receiving an error while doing Enable to Connector would you please help me to resolve it
Error
Failed to update the connector
Error:
Error executing request. For this service offering, you can't enable an inbound connector. Please contact Support to enable it. Organization '4fb648b6-ee0e-4019-b991-1450412e449f', Service Offering: 'O365_BUSINESS_PREMIUM'.
Hi, due to a recent change in M365 product, admins are not able to enable connectors. You need to create support ticket with MS along with a business justification to enable connector in your tenant.