Subversion Repositories SmartDukaan

Rev

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

Rev 22744 Rev 22745
Line 97... Line 97...
97
        mailSender.setUsername("shop2020");
97
        mailSender.setUsername("shop2020");
98
        mailSender.setPassword("U2/=fP,t");
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", "true");
103
        javaMailProperties.put("mail.transport.protocol", "smtp");
103
        javaMailProperties.put("mail.transport.protocol", "smtp");
104
        javaMailProperties.put("mail.debug", "true");//Prints out everything on screen
104
        javaMailProperties.put("mail.debug", "true");//Prints out everything on screen
105
         
105
         
106
        mailSender.setJavaMailProperties(javaMailProperties);
106
        mailSender.setJavaMailProperties(javaMailProperties);
107
        return mailSender;
107
        return mailSender;