Subversion Repositories SmartDukaan

Rev

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

Rev 27028 Rev 27626
Line 103... Line 103...
103
		JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
103
		JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
104
 
104
 
105
		// Using gmail
105
		// Using gmail
106
		mailSender.setHost("smtp.sendgrid.net");
106
		mailSender.setHost("smtp.sendgrid.net");
107
		mailSender.setPort(587);
107
		mailSender.setPort(587);
108
		mailSender.setUsername("shop2020");
108
		mailSender.setUsername("apikey");
109
		mailSender.setPassword("U2/=fP,t");
109
		mailSender.setPassword("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");
110
 
110
 
111
		Properties javaMailProperties = new Properties();
111
		Properties javaMailProperties = new Properties();
112
		javaMailProperties.put("mail.smtp.starttls.enable", "false");
112
		javaMailProperties.put("mail.smtp.starttls.enable", "false");
113
		javaMailProperties.put("mail.smtp.auth", "true");
113
		javaMailProperties.put("mail.smtp.auth", "true");
114
		javaMailProperties.put("mail.transport.protocol", "smtp");
114
		javaMailProperties.put("mail.transport.protocol", "smtp");