Skip to content

Completely new implementation of Send-PnPMail#2880

Merged
gautamdsheth merged 9 commits intopnp:devfrom
KoenZomers:SendPnPMailOverhaul
Mar 21, 2023
Merged

Completely new implementation of Send-PnPMail#2880
gautamdsheth merged 9 commits intopnp:devfrom
KoenZomers:SendPnPMailOverhaul

Conversation

@KoenZomers
Copy link
Collaborator

@KoenZomers KoenZomers commented Mar 10, 2023

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

Completely rewritten implementation of Send-PnPMail which allows e-mails to be sent through:

  • SharePoint Online
  • Microsoft Graph
  • Authenticated SMTP Servers
  • Anonymous SMTP Servers
  • SMTP servers requiring TLS

Based on the parameters provided, one of the above options will be used.

It also supports the use of -Verbose to see which method is used and if the e-mail got sent successfully.
It also provides feedback now if sending the e-mail failed for whatever reason instead of always remaining silent.

@gautamdsheth gautamdsheth merged commit f7a0269 into pnp:dev Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants