made changes to email
This commit is contained in:
parent
735d92147c
commit
97c5813494
Binary file not shown.
@ -42,6 +42,14 @@ namespace DeskHubSharp
|
||||
err.ShowDialog();
|
||||
return false;
|
||||
}
|
||||
if (_emailText == "")
|
||||
{
|
||||
ErrorWindow err = new ErrorWindow();
|
||||
err.lbl_title.Content = "Oops.";
|
||||
err.txtblk_error.Text = "Please fill in your email.";
|
||||
err.ShowDialog();
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -61,7 +69,7 @@ namespace DeskHubSharp
|
||||
message.Subject = $"{_name} requires your attention!";
|
||||
message.Body = new TextPart("plain")
|
||||
{
|
||||
Text = _message + _emailText
|
||||
Text = _message + " " + _emailText
|
||||
};
|
||||
|
||||
using (var client = new SmtpClient())
|
||||
|
2
DeskHubSharp/ClassDiagram1.cd
Normal file
2
DeskHubSharp/ClassDiagram1.cd
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ClassDiagram />
|
@ -155,6 +155,7 @@
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="build.cake" />
|
||||
<None Include="ClassDiagram1.cd" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
|
@ -4,7 +4,7 @@ namespace DeskHubSharp
|
||||
{
|
||||
private string _toEmail = "wjmiller2016@gmail.com";
|
||||
private string _fromEmail = "wjmiller2016@gmail.com";
|
||||
private string _passwordEmail = "password";
|
||||
private string _passwordEmail = "IhaveanAMDRX480";
|
||||
|
||||
public string Password
|
||||
{
|
||||
|
Binary file not shown.
@ -4,16 +4,16 @@
|
||||
winexe
|
||||
C#
|
||||
.cs
|
||||
C:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\obj\Debug\
|
||||
C:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\obj\Debug\
|
||||
DeskHubSharp
|
||||
none
|
||||
false
|
||||
DEBUG;TRACE
|
||||
C:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\App.xaml
|
||||
C:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\App.xaml
|
||||
7-86569338
|
||||
|
||||
312052675278
|
||||
20-856998346
|
||||
31-1209486194
|
||||
20415715258
|
||||
AboutWindow.xaml;DetailWindow.xaml;ErrorWindow.xaml;FeedbackWindow.xaml;HelpWindow.xaml;MainWindow.xaml;SearchWindow.xaml;
|
||||
|
||||
True
|
||||
|
Reference in New Issue
Block a user