Subversion Repositories SmartDukaan

Rev

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

Rev 27619 Rev 27629
Line 130... Line 130...
130
		JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
130
		JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
131
 
131
 
132
		// Using gmail
132
		// Using gmail
133
		mailSender.setHost("smtp.sendgrid.net");
133
		mailSender.setHost("smtp.sendgrid.net");
134
		mailSender.setPort(587);
134
		mailSender.setPort(587);
135
		mailSender.setUsername("shop2020");
135
		mailSender.setUsername("apikey");
136
		mailSender.setPassword("U2/=fP,t");
136
		mailSender.setPassword("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");
137
 
137
 
138
		Properties javaMailProperties = new Properties();
138
		Properties javaMailProperties = new Properties();
139
		javaMailProperties.put("mail.smtp.starttls.enable", "false");
139
		javaMailProperties.put("mail.smtp.starttls.enable", "false");
140
		javaMailProperties.put("mail.smtp.auth", "true");
140
		javaMailProperties.put("mail.smtp.auth", "true");
141
		javaMailProperties.put("mail.transport.protocol", "smtp");
141
		javaMailProperties.put("mail.transport.protocol", "smtp");