PowerShell Tutorials : Send an email using MailKit

  Рет қаралды 8,506

JackedProgrammer

JackedProgrammer

Күн бұрын

Пікірлер: 28
@justin.emmons
@justin.emmons 7 ай бұрын
Would love to see you do a video over the module "PSWRITEHTML", it has some email functions in it that make beautiful HTML reports. I think you have covered the module already but not the email portion.
@TerranceIngoldsby
@TerranceIngoldsby 2 жыл бұрын
Great job! What a process to simply make up for Microsoft not updating their own cmdlet. But it works - and you clearly went to a lot of effort to figure out all of the parameters and steps!
@garyw8325
@garyw8325 11 ай бұрын
Just found this, started implementing SEND-MAILMESSAGE and noticed the warnings. Anyway, MimeKit install, no problem. MailKit install failed, "Dependency loop detected for package 'MailKit'". Oops. Suggestions? Will search for an appropriate course of action, but advice appreciated: MORE: with -verbose added, it appears to get to the end of the object list AND START OVER. It's pulling version 4.3.0. LAST FOR NOW: adding -skipDependencies and leaving in -verbose, it completes but mentions that "Hash for package 'MailKit' does not match hash provided from the server". Don't know if this is a resul of including -skip or if the source package is off
@Jerry-d3o3l
@Jerry-d3o3l Жыл бұрын
Will $env:path = work in place of the add-type path?
@Chessari017
@Chessari017 Жыл бұрын
Which video do you refer to for securing the credentials?
@jackedprogrammer
@jackedprogrammer Жыл бұрын
It would be this video here : kzbin.info/www/bejne/g4LMinuenp2XjdE hope this helps :)
@emerelle3535
@emerelle3535 Жыл бұрын
Looks very good! My question would be if I had a server without internet (just intranet with an e-mail server there), could I just copy the both dll's from an computer to the server or does the install-package more that the server would miss? Edit: Also.. do you know if MimeKit or MailKit can retrieve PKI-Certificates for S/MIME from an Exchange-Adressbook like Outlook does? Or do I need search for another solution for that? :)
@jackedprogrammer
@jackedprogrammer Жыл бұрын
Thank you for watching :) I believe just copying the DLL would work but I’m not 100% sure, and I believe the mimekit has some fonctions for S/MIME so I believe you’d be able to
@captainfuture2882
@captainfuture2882 Жыл бұрын
I wonder where the lib folder in linux can be found
@JonSwarnerNH
@JonSwarnerNH 2 жыл бұрын
Hey @JackedProgrammer - I'm running into an issue when trying to add the MimeKit.dll type. The error I get is "Add-Type : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.". I have the .NET Framework 2.0 and 3.5 packages installed. I've verified that the path to the MimeKit.dll file is valid. I've tried also using the .NET Framework 4.8 version (since 4.8 is pre-installed on my system), and I run into the same problem. Any advice?
@MrNeweggfan
@MrNeweggfan 2 жыл бұрын
Did you ever find the fix for this?
@chazbush2934
@chazbush2934 2 жыл бұрын
@@MrNeweggfan @JackedProgrammer Having the same issue. any luck?
@oliversalery5964
@oliversalery5964 2 жыл бұрын
​@@chazbush2934 ​ If you do: try { Add-Type -Path "C:\Program Files\PackageManagement\NuGet\Packages\MimeKit.3.3.0\lib etstandard2.1\MimeKit.dll" } catch { $_.Exception.LoaderExceptions } Then, it will tell you exactly why it can't load it and what dependency it's missing to do it.
@1gieng
@1gieng 2 жыл бұрын
Same issue here. Did you get anywhere with this issue?
@timwilson3109
@timwilson3109 Жыл бұрын
Same error for me as well. I'm not C++ programmer so not sure where to look to fix this. Please help.
@blahdelablah
@blahdelablah 9 ай бұрын
Thanks for the video. Just a quick thing, isn't "Mime" pronounced like the silent "mime" performers rather than having the same pronunciation as "meme"?
@murattasova7598
@murattasova7598 2 жыл бұрын
Thank you ver much, very good explantion!
@jackedprogrammer
@jackedprogrammer 2 жыл бұрын
No problem, glad you enjoyed the video :)
@shivammishra8535
@shivammishra8535 2 жыл бұрын
How to add signature as well in the end of the mail?
@jackedprogrammer
@jackedprogrammer 2 жыл бұрын
Hi Shivam, for the signature I would do a html body and add the signature as html at the bottom of the body.
@testmail5548
@testmail5548 2 жыл бұрын
Great tutorials, thanks man!
@jackedprogrammer
@jackedprogrammer 2 жыл бұрын
No problem! glad you're enjoying the videos :)
@K6TJO
@K6TJO 2 жыл бұрын
Thanks for sharing but this is a ridiculously complicated solution for a sending an email. Microsoft needs to release a supportable cmdlet
@jackedprogrammer
@jackedprogrammer 2 жыл бұрын
No problem and I agree it’s really crazy that it’s been years actually and the solution is very complex when compared to the send-mailmessage cmdlet they should be making a new one
@szehoyeu1
@szehoyeu1 2 жыл бұрын
Thank you for sharing.
@jackedprogrammer
@jackedprogrammer 2 жыл бұрын
Not a problem :) glad you're enjoying the videos :)
PowerShell Tutorials : Creating email function to replace send-mailmessage
29:50
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
How to send an email in C# with .NET using Mailkit
16:46
tutorialsEU
Рет қаралды 34 М.
PowerShell Remoting
37:12
TechThoughts
Рет қаралды 73 М.
PowerShell Quick Tips : Investigate Account Lockouts
23:41
JackedProgrammer
Рет қаралды 1,1 М.
PowerShell Tutorials : Working with JSON
20:09
JackedProgrammer
Рет қаралды 7 М.
PowerShell Tutorials : Environment Checker (Beginner Project)
50:37
JackedProgrammer
Рет қаралды 5 М.
PowerShell 7 Tutorials for Beginners : Fundamentals
30:25
JackedProgrammer
Рет қаралды 108 М.
Send Email with SendGrid and PowerShell
9:23
Travis Roberts
Рет қаралды 5 М.
PowerShell Quick Tips : Splatting
15:08
JackedProgrammer
Рет қаралды 1,2 М.
PowerShell Tutorials Event Viewer #1 : Get-EventLog
19:55
JackedProgrammer
Рет қаралды 13 М.
Learn the Linux Fundamentals - Part 3
45:38
TryHackMe
Рет қаралды 324 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН