Subversion Repositories SmartDukaan

Rev

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

Rev 27562 Rev 27630
Line 75... Line 75...
75
		JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
75
		JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
76
 
76
 
77
		// Using gmail
77
		// Using gmail
78
		mailSender.setHost("smtp.sendgrid.net");
78
		mailSender.setHost("smtp.sendgrid.net");
79
		mailSender.setPort(587);
79
		mailSender.setPort(587);
80
		mailSender.setUsername("shop2020");
80
		mailSender.setUsername("apikey");
81
		mailSender.setPassword("U2/=fP,t");
81
		mailSender.setPassword("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");
82
 
82
 
83
		Properties javaMailProperties = new Properties();
83
		Properties javaMailProperties = new Properties();
84
		javaMailProperties.put("mail.smtp.starttls.enable", "false");
84
		javaMailProperties.put("mail.smtp.starttls.enable", "false");
85
		javaMailProperties.put("mail.smtp.auth", "true");
85
		javaMailProperties.put("mail.smtp.auth", "true");
86
		javaMailProperties.put("mail.transport.protocol", "smtp");
86
		javaMailProperties.put("mail.transport.protocol", "smtp");