Subversion Repositories SmartDukaan

Rev

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

Rev 22398 Rev 22744
Line 92... Line 92...
92
        JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
92
        JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
93
         
93
         
94
        //Using gmail
94
        //Using gmail
95
        mailSender.setHost("smtp.sendgrid.net");
95
        mailSender.setHost("smtp.sendgrid.net");
96
        mailSender.setPort(587);
96
        mailSender.setPort(587);
97
        mailSender.setUsername("apikey");
97
        mailSender.setUsername("shop2020");
98
        mailSender.setPassword("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");
98
        mailSender.setPassword("U2/=fP,t");
99
         
99
         
100
        Properties javaMailProperties = new Properties();
100
        Properties javaMailProperties = new Properties();
101
        javaMailProperties.put("mail.smtp.starttls.enable", "false");
101
        javaMailProperties.put("mail.smtp.starttls.enable", "false");
102
        javaMailProperties.put("mail.smtp.auth", "false");
102
        javaMailProperties.put("mail.smtp.auth", "false");
103
        javaMailProperties.put("mail.transport.protocol", "smtp");
103
        javaMailProperties.put("mail.transport.protocol", "smtp");