-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #443 from kavicastelo/backend
Fixed
- Loading branch information
Showing
3 changed files
with
36 additions
and
29 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,14 +23,14 @@ public class ContactController { | |
public ResponseEntity<ApiResponse> sendMail(@RequestBody ContactModel contactModel){ | ||
emailService.sendSimpleEmail("[email protected]","Urban air quality platform - contact","" + | ||
"Dear Administration,"+"\n" + | ||
"You got an contact email from: "+contactModel.getSender()+"\n" + | ||
"Email Address: "+contactModel.getSenderEmail()+"\n\n" + | ||
"You got an contact email from: "+contactModel.getName()+"\n" + | ||
"Email Address: "+contactModel.getEmail()+"\n\n" + | ||
""+contactModel.getMessage()+"\n\n" + | ||
"Client is waiting for your response. Reply ASAP\n\n\n" + | ||
"System Automated Email - Urban Air Quality Platform"); | ||
|
||
emailService.sendSimpleEmail(contactModel.getSenderEmail(),"Urban air quality platform - contact","" + | ||
"Dear "+contactModel.getSender()+","+"\n" + | ||
emailService.sendSimpleEmail(contactModel.getEmail(),"Urban air quality platform - contact","" + | ||
"Dear "+contactModel.getName()+","+"\n" + | ||
"We got your contact message. Our agent will be contact you ASAP. Thank you for contacting with us! \n\n" + | ||
"Sincerely,\n" + | ||
"Urban Air Quality Platform.\n\n" + | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters