chore: contact information
This commit is contained in:
parent
e7987e88a7
commit
8109beb091
7 changed files with 18 additions and 18 deletions
|
|
@ -16,7 +16,7 @@ func NewMockEmailService() *MockEmailService {
|
|||
|
||||
func (m *MockEmailService) SendContactNotification(submission *model.ContactSubmission) error {
|
||||
log.Info().
|
||||
Str("to", "contact@urpi.be").
|
||||
Str("to", "daniel.noulet@urpi.be").
|
||||
Str("subject", "New Contact Form Submission: "+submission.Subject).
|
||||
Str("from_name", submission.Name).
|
||||
Str("from_email", submission.Email).
|
||||
|
|
@ -54,7 +54,7 @@ func NewSMTPEmailService(host string, port int, username, password, from, fromNa
|
|||
|
||||
func (s *SMTPEmailService) SendContactNotification(submission *model.ContactSubmission) error {
|
||||
log.Info().
|
||||
Str("to", "contact@urpi.be").
|
||||
Str("to", "daniel.noulet@urpi.be").
|
||||
Str("subject", "New Contact Form Submission: "+submission.Subject).
|
||||
Msg("Sending contact notification email via SMTP")
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue