Spring Cloud AWS Simple Email Service | AWS SES | Amazon Web Services
ฝัง
- เผยแพร่เมื่อ 18 ก.ย. 2021
- Amazon Simple Email Service (SES) is a cloud-based email service that provides cost-effective, flexible and scalable way for businesses of all sizes to keep in contact with their customers through email.
SPRING BOOT + AWS Playlist link: • Spring Boot + AWS
My Top Playlists:
Spring Boot with Angular : • Spring Boot + Angular
Spring Boot with Docker & Docker Compose : • Spring Boot Docker & D...
Spring Boot with Kubernetes : • Spring Boot Docker Kub...
Spring Boot with AWS : • Spring Boot + AWS
Spring Boot with Azure : • Spring Boot Azure
Spring Data with Redis : • Spring Data with Redis
Spring Boot with Apache Kafka : • Apache kafka
Spring Boot with Resilience4J : • SpringBoot Resilience4j - วิทยาศาสตร์และเทคโนโลยี
Nice.
Thanks a lot for detailed and clear coverage. Just a small suggestion, please mention maven dependencies in future videos (And if possible, update the same in the description of existing videos)
Sure, Thank you
@@technotowntechie9732 Can you list the dependencies you used please? My SimpleEmailService is showing as "cannot by instantiated" in the config.
Thanks a lot......
That is good
Is there a way to user JavaMailSender in the MailService class instead of SimpleMailMessage??? I need to use MIME content which is supported by the JavaMailSender cuz I need to send an HTML string format with HTML tags and all, but... the SimpleMailMessage doesn't support HTML string format. The e-mail doensn't interpret the HTML tags... do you think it's possible?
Any idea how to add CC in it?
but we have to add all mails to verified. For the use case of registration I need to get email verified for recipent also
Any chance to get the Git link?
5:40 It's good if you have created the IAM access freshly, this will help new users
7:20 Also let everyone know which package you are importing the classes. Eg: MailSender (doesn't matter who knows and who don't know)
Also what is the pom dependency you have included for AWS SES classes?
What about the Cc option?
What if I want to send email to 50 users?
How do you use this service in a real time basis?
Let's me know how to get credentials accesskeyId and secretKey ?
can you send all dependencies you used
Hi
SimpleEmailServiceMailSender shows error...not defined....how to import this....can you help
I added following artifact as dependency in pom.
1) aws-java-sdk-core
2) aws-java-sdk-ses
3) spring-cloud-aws-context
4) spring-boot-starter-mail
I used all the latest versions from Maven repo. This is working so far
How do I include attachments?
Can you pls try the below code for attachments.
@Service
public class NotificationService {
@Autowired
private MailSender mailSender;
@Autowired
private JavaMailSender javaMailSender;
public void sendMailMessageWithAttachments() {
this.javaMailSender.send(new MimeMessagePreparator() {
@Override
public void prepare(MimeMessage mimeMessage)
throws Exception {
MimeMessageHelper helper =
new MimeMessageHelper(mimeMessage, true, "UTF-8");
helper.addTo("foo@bar.com");
helper.setFrom("bar@baz.com");
InputStreamSource data =
new ByteArrayResource("".getBytes());
helper.addAttachment("test.txt", data );
helper.setSubject("test subject with attachment");
helper.setText("mime body", false);
}
});
}
}
Good tutorial but no source code given
Any clue...I get this error...............java.lang.NoSuchFieldError: CLIENT_ENDPOINT....