Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test email options #283

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Test email options #283

wants to merge 12 commits into from

Conversation

clackner-gpa
Copy link
Member

Added endpoint to test email via download of file or writing it to the fileshare

Comment on lines 652 to 656
email.Body = GetBody(htmlDocument);
email.Subject = GetSubject(htmlDocument, emailType);

if (string.IsNullOrEmpty(smtpServer))
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you put the calls to GetBody() and GetSubject() before checking for smtpServer. Should we also modify WriteEmailToFile() so it can be invoked even without an SMTP server?

@StephenCWills
Copy link
Member

Pushing what I have so far. I didn't get around to actually cleaning up the SendEmail() method signatures, but I did break a bunch of EmailService functionality out to other classes to help get things organized.

@clackner-gpa clackner-gpa marked this pull request as draft June 5, 2024 13:00
@clackner-gpa clackner-gpa marked this pull request as ready for review June 12, 2024 16:54
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