| Line 97... |
Line 97... |
| 97 |
+ contactUsRequest.getMessage() + "</p>"
|
97 |
+ contactUsRequest.getMessage() + "</p>"
|
| 98 |
+ "<br>"
|
98 |
+ "<br>"
|
| 99 |
+ "<p style='color: #777;'>This email was sent via the Contact Us form.</p>"
|
99 |
+ "<p style='color: #777;'>This email was sent via the Contact Us form.</p>"
|
| 100 |
+ "</body></html>";
|
100 |
+ "</body></html>";
|
| 101 |
helper.setText(emailContent, true);
|
101 |
helper.setText(emailContent, true);
|
| 102 |
String[] cc={"aman.gupta@smartdukaan.com","vikas.jangra@smartdukaan.com"};
|
102 |
String[] cc={"sdtech@smartdukaan.com","manoj.singh1@smartdukaan.com"};
|
| 103 |
helper.setCc(cc);
|
103 |
helper.setCc(cc);
|
| 104 |
InternetAddress senderAddress = new InternetAddress("noreply@smartdukaan.com", contactUsRequest.getName());
|
104 |
InternetAddress senderAddress = new InternetAddress("noreply@smartdukaan.com", contactUsRequest.getName());
|
| 105 |
helper.setFrom(senderAddress);
|
105 |
helper.setFrom(senderAddress);
|
| 106 |
helper.setReplyTo(contactUsRequest.getEmail());
|
106 |
helper.setReplyTo(contactUsRequest.getEmail());
|
| 107 |
helper.setTo("care@smartdukaan.com");
|
107 |
helper.setTo("care@smartdukaan.com");
|