You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed Resolve-DnsQuery => moved to DnsClientX, which uses it's own library
Removed Resolve-DnsRequestRest => moved to DnsClientX, which uses it's own library
Removed all functions related to DNS (will be moved to DomainDetective module)
Find-MXRecord
Find-SPFRecord
Find-DKIMRecord
Find-DMARCRecord
Find-DNSBL
Find-DNSSECRecord
Find-CAARecord
Find-BIMIRecord
Find-MTASTSRecord
Find-O365OpenIDRecord
Find-SecurityTxtRecord
Find-TLSRPTRecord
Find-IPGeolocation
Find-DANERecord
Find-CAARecord
Find-DNSSECRecord
Replaced Test-EmailAddress function with Test-EmailAddress binary cmdlet
Improvements to Send-EmailMessage
Removed Email/EmailParameters parameters as they are not needed, and legacy
Added DeliveryNotificationOption as an enum instead of strings
Internal improvements
Dispose() of SmtpClient in the end
Replaced PowerShell classes with C# version
Moved some PowerShell code to C# for better performance and simpler logic
2.0.0 - Preview 4 - 2024.03.04
Update to DLLs to latest versions
Removes some unnessecary DLLs
Different way to build module and load depenedencies
Removal of DLLs from source codes
Small updates to DLLs
Add new DLLs
Added ConvertFrom-EmlToMsg to convert EML files to MSG files
Added Import-MailFile to import MSG/EML files to PowerShell Object
Added Get-MailMessage
Added Get-MailMessageAttachment
Added Find-BIMIRecord
Added Find-CAARecord
Added Find-DANERecord
Added Find-MTASTSRecord
Added Find-O365OpenIDRecord
Added Find-SecurityTxtRecord
Added Find-TLSRPTRecord
Added Find-DNSSECRecord
Improve Find-DMARCRecord to return more data
Added Get-DMARCData to read DMARC data from XML files
Added Find-IPGeolocation to get IP Geolocation data
Small improvements to error handling
1.0.2 - 2023.08.05
Rename SkipCertificateValidatation to SkipCertificateValidation in Send-EmailMessage (typo fix)
Added SkipCertificateValidation to Connect-IMAP
Added SkipCertificateValidation to Connect-POP3
Added SkipCertificateRevocation to Connect-IMAP
Added SkipCertificateRevocation to Connect-POP3
Use simpler certificate validation callback by @jborean93 in #42
1.0.1 - 2023.07.19
Updated Microsoft.Identity.Client.dll to 4.44 to match ExchangeOnlineManagement module
1.0.0 - 2022.12.20
Add support for sending emails with graph using Delegated permissions. It uses Microsoft.Graph.Authentication module and MgGraphRequest switch on Send-EmailMessage.
Import-Module Mailozaurr
Import-Module Microsoft.Graph.Authentication -Force
# this shows how to send email using combination of Mailozaurr and Microsoft.Graph to use Connect-MgGraph to authorize$Body= EmailBody {
New-HTMLText-Text "This is test of Connect-MGGraph functionality"
}
# authorize via Connect-MgGraph with delegated rights or any other supported methodConnect-MgGraph-Scopes Mail.Send
# sending email$sendEmailMessageSplat=@{
From='[email protected]'To='[email protected]'HTML=$BodySubject='This tests email as delegated'MgGraphRequest=$trueVerbose=$true
}
Send-EmailMessage@sendEmailMessageSplat
0.9.0 - 2022.10.02
Fix Suppress for sending emails via SendGrid
Fix Suppress for sending emails via Microsoft Graph
Add support to Send-EmailMessage for attachments 4MB to 150MB in size for Microsoft Graph. Before it would only send attachments up to 4MB in size. Detects size automatically and uses the appropriate API endpoint.
Add RequestReadReceipt support to Send-EmailMessage for Microsoft Graph to request a read receipt from the recipient.
Add RequestDeliveryReceipt switch to Send-EmailMessage for Microsoft Graph to request a delivery receipt. SMTP uses DeliveryNotificationOption and DeliveryStatusNotificationType.
Added missing libraries so that the project can work on more systems without installing higher version of .NET Framework
Added tests for SMTP with Auth and Graph API
0.0.24 - 2021.01.24
Improved logging logic for Send-EmailMessage
0.0.23 - 2021.01.22
Added option to Send-EmailMessage to specify the LocalDomain to be able to troubleshoot issue #1314
Added option to Send-EmailMessage - LogConsole and LogObject which joins LogPath in saving whole conversation to console, or to final object as Message property
0.0.22 - 2021.01.21
Upgraded MailKit\MimeKit to 3.1.0
Added support to save MimeMessage in Send-EmailMessage using MimeMessagePath
Fixed Cloudflare DNS calls for Find-DMARCRecord,Find-DKIMRecord, Find-MXRecord, Find-SPFRecord, Find-DNSBNL
Updated docs
More output fields on Send-EmailMessage
0.0.21 - 2022.01.07
Added support for logging in the Send-EmailMessage for SMTP to allow for debugging.
By adding LogPath $PSScriptRoot\Output\Log1.txt log file will be created with full information
Parameters such as LogSecrets, LogTimeStamps, LogTimeStampsFormat and LogClientPrefix,LogServerPrefix are available
0.0.20 - 2022.01.02
Added support for using Get-MsalToken instead of built-in token creation for GraphApi
# creating body for HTML using PSWriteHTML$Body= EmailBody {
New-HTMLText-Text "this is my test"New-HTMLText-Text "Łączy nas piłka"
}
# Generating token using Get-MsalToken$getMsalTokenSplat=@{
ClientId='0fb383f1'ClientSecret='VKDM_'|ConvertTo-SecureString-AsPlainText
Authority='https://login.microsoftonline.com/ceb371f6'
}
$MsalToken=Get-MsalToken@getMsalTokenSplat# Converting it to Credentials object (so that Send-EmailMessage can use it)$Credential=ConvertTo-GraphCredential-MsalToken $MsalToken.AccessToken# sending emailSend-EmailMessage-From '[email protected]'-To '[email protected]'-Credential $Credential-HTML $Body-Subject 'This is another test email 2'-Graph -Verbose -Priority Low -DoNotSaveToSentItems
0.0.19 - 2021.12.25
Fixes encoding for Send-EmailMessage wen using GraphApi (forces UTF8)
0.0.18 - 2021.09.23
Improved error handling of Send-EmailMessage when sending with GraphApi