Subversion Repositories SmartDukaan

Rev

Rev 33495 | Rev 33503 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33495 Rev 33496
Line 197... Line 197...
197
 
197
 
198
        // Using gmail
198
        // Using gmail
199
        mailSender.setHost("smtp.sendgrid.net");
199
        mailSender.setHost("smtp.sendgrid.net");
200
        mailSender.setPort(587);
200
        mailSender.setPort(587);
201
        mailSender.setUsername("apikey");
201
        mailSender.setUsername("apikey");
202
        mailSender.setPassword("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");
202
        mailSender.setPassword("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");
203
 
203
 
204
        Properties javaMailProperties = new Properties();
204
        Properties javaMailProperties = new Properties();
205
        javaMailProperties.put("mail.smtp.starttls.enable", "false");
205
        javaMailProperties.put("mail.smtp.starttls.enable", "false");
206
        javaMailProperties.put("mail.smtp.auth", "true");
206
        javaMailProperties.put("mail.smtp.auth", "true");
207
        javaMailProperties.put("mail.transport.protocol", "smtp");
207
        javaMailProperties.put("mail.transport.protocol", "smtp");
Line 218... Line 218...
218
        LOGGER.info("Google mail sender - here");
218
        LOGGER.info("Google mail sender - here");
219
        // Using gmail
219
        // Using gmail
220
        mailSender.setHost("smtp.sendgrid.net");
220
        mailSender.setHost("smtp.sendgrid.net");
221
        mailSender.setPort(587);
221
        mailSender.setPort(587);
222
        mailSender.setUsername("apikey");
222
        mailSender.setUsername("apikey");
223
        mailSender.setPassword("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");
223
        mailSender.setPassword("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");
224
 
224
 
225
        Properties javaMailProperties = new Properties();
225
        Properties javaMailProperties = new Properties();
226
        javaMailProperties.put("mail.smtp.starttls.enable", "false");
226
        javaMailProperties.put("mail.smtp.starttls.enable", "false");
227
        javaMailProperties.put("mail.smtp.auth", "true");
227
        javaMailProperties.put("mail.smtp.auth", "true");
228
        javaMailProperties.put("mail.transport.protocol", "smtp");
228
        javaMailProperties.put("mail.transport.protocol", "smtp");