Skip to content

Commit 3ef723f

Browse files
committed
GH-19: Rename project to PoshMailKit
1 parent eb97bab commit 3ef723f

9 files changed

Lines changed: 27 additions & 26 deletions

File tree

PSMailKit.sln renamed to PoshMailKit.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.1.32210.238
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PSMailKit", "PSMailKit\PSMailKit.csproj", "{5630C3F8-B365-46F3-8B63-3ED9C193C45A}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PoshMailKit", "PoshMailKit\PoshMailKit.csproj", "{5630C3F8-B365-46F3-8B63-3ED9C193C45A}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.IO;
55
using System.Collections;
66

7-
namespace PSMailKit
7+
namespace PoshMailKit
88
{
99
internal static class MailAttachments
1010
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace PSMailKit
1+
namespace PoshMailKit
22
{
33
// This is for legacy compatibility to avoid using the System.Net.Mail enum of the same name
44
public enum MailPriority

PSMailKit/ModuleMembers/PSMailKit.psd1 renamed to PoshMailKit/ModuleMembers/PoshMailKit.psd1

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#
2-
# Module manifest for module 'PSMailKit'
2+
# Module manifest for module 'PoshMailKit'
33
#
44
# Generated by: The PowerShell Bear
55
#
6-
# Generated on: 2022-03-11
6+
# Generated on: 2022-03-14
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.9.0'
15+
ModuleVersion = '0.9.1'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -66,7 +66,7 @@ PowerShellVersion = '5.1'
6666
# FormatsToProcess = @()
6767

6868
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
69-
NestedModules = @('PSMailKit.dll')
69+
NestedModules = @('PoshMailKit.dll')
7070

7171
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
7272
FunctionsToExport = @()
@@ -84,10 +84,11 @@ AliasesToExport = @()
8484
# DscResourcesToExport = @()
8585

8686
# List of all modules packaged with this module
87-
#ModuleList = @('PSMailKit')
87+
#ModuleList = @('')
8888

8989
# List of all files packaged with this module
90-
FileList = 'MailKit.dll', 'MimeKit.dll', 'PSMailKit.dll'
90+
FileList = @('MailKit.dll', 'MimeKit.dll', 'BouncyCastle.Crypto.dll', 'PoshMailKit.dll', 'System.Buffers.dll',
91+
'System.Management.Automation.dll')
9192

9293
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
9394
PrivateData = @{
@@ -98,10 +99,10 @@ PrivateData = @{
9899
Tags = @('Mail', 'Email', 'MailKit', 'MimeKit', 'Send-MailMessage')
99100

100101
# A URL to the license for this module.
101-
LicenseUri = 'https://raw.githubusercontent.com/poshcodebear/PSMailKit/main/LICENSE'
102+
LicenseUri = 'https://raw.githubusercontent.com/poshcodebear/PoshMailKit/main/LICENSE'
102103

103104
# A URL to the main website for this project.
104-
ProjectUri = 'https://github.com/poshcodebear/PSMailKit'
105+
ProjectUri = 'https://github.com/poshcodebear/PoshMailKit'
105106

106107
# A URL to an icon representing this module.
107108
# IconUri = ''
@@ -110,7 +111,7 @@ PrivateData = @{
110111
# ReleaseNotes = ''
111112

112113
# Prerelease string of this module
113-
Prerelease = 'beta1'
114+
Prerelease = 'beta2'
114115

115116
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
116117
# RequireLicenseAcceptance = $false
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<ProjectGuid>{5630C3F8-B365-46F3-8B63-3ED9C193C45A}</ProjectGuid>
88
<OutputType>Library</OutputType>
99
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>PSMailKit</RootNamespace>
11-
<AssemblyName>PSMailKit</AssemblyName>
10+
<RootNamespace>PoshMailKit</RootNamespace>
11+
<AssemblyName>PoshMailKit</AssemblyName>
1212
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<Deterministic>true</Deterministic>
@@ -64,15 +64,15 @@
6464
</ItemGroup>
6565
<ItemGroup>
6666
<None Include="packages.config" />
67-
<None Include="ModuleMembers\PSMailKit.psd1">
67+
<None Include="ModuleMembers\PoshMailKit.psd1">
6868
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
6969
</None>
7070
</ItemGroup>
7171
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7272
<PropertyGroup>
73-
<PostBuildEvent>pwsh.exe -C "Remove-Item -Path '$(TargetDir)\PSMailKit' -Recurse -Force -ea ignore"
74-
pwsh.exe -C "New-Item -Path '$(TargetDir)\PSMailKit' -Type Directory"
75-
pwsh.exe -C "Copy-Item -Path '$(TargetDir)\*Kit.dll' -Destination '$(TargetDir)\PSMailKit\'"
76-
pwsh.exe -C "Copy-Item -Path '$(TargetDir)\ModuleMembers\*' -Destination '$(TargetDir)\PSMailKit\'"</PostBuildEvent>
73+
<PostBuildEvent>pwsh.exe -C "Remove-Item -Path '$(TargetDir)\PoshMailKit' -Recurse -Force -ea ignore"
74+
pwsh.exe -C "New-Item -Path '$(TargetDir)\PoshMailKit' -Type Directory"
75+
pwsh.exe -C "Copy-Item -Path '$(TargetDir)\*.dll' -Destination '$(TargetDir)\PoshMailKit\'"
76+
pwsh.exe -C "Copy-Item -Path '$(TargetDir)\ModuleMembers\*' -Destination '$(TargetDir)\PoshMailKit\'"</PostBuildEvent>
7777
</PropertyGroup>
78-
</Project>
78+
</Project>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("PSMailKit")]
8+
[assembly: AssemblyTitle("PoshMailKit")]
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("The PowerShell Bear")]
12-
[assembly: AssemblyProduct("PSMailKit")]
12+
[assembly: AssemblyProduct("PoshMailKit")]
1313
[assembly: AssemblyCopyright("Copyright © The PowerShell Bear 2022")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.9.0")]
36-
[assembly: AssemblyFileVersion("0.9.0")]
35+
[assembly: AssemblyVersion("0.9.1")]
36+
[assembly: AssemblyFileVersion("0.9.1")]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using MailKit.Net.Smtp;
66
using MailKit.Security;
77

8-
namespace PSMailKit
8+
namespace PoshMailKit
99
{
1010
[Cmdlet(
1111
VerbsCommunications.Send, "MKMailMessage",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# PSMailKit
1+
# PoshMailKit
22

33
Drop-in replacement for Send-MailMessage using MailKit
44

0 commit comments

Comments
 (0)