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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 21

  • @thisissheraf2633
    @thisissheraf2633 2 ปีที่แล้ว

    Nice.

  • @saurabhrangnekar
    @saurabhrangnekar 2 ปีที่แล้ว +3

    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)

    • @technotowntechie9732
      @technotowntechie9732  2 ปีที่แล้ว

      Sure, Thank you

    • @LanceSummer
      @LanceSummer 2 ปีที่แล้ว

      @@technotowntechie9732 Can you list the dependencies you used please? My SimpleEmailService is showing as "cannot by instantiated" in the config.

  • @mrwhite8853
    @mrwhite8853 2 ปีที่แล้ว

    Thanks a lot......

  • @apolinairenguemo7772
    @apolinairenguemo7772 2 ปีที่แล้ว

    That is good

  • @joaovitorlimadasilvagutier5527
    @joaovitorlimadasilvagutier5527 3 หลายเดือนก่อน

    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?

  • @kashyapjoshi3531
    @kashyapjoshi3531 2 ปีที่แล้ว

    Any idea how to add CC in it?

  • @ashishpurohit6363
    @ashishpurohit6363 9 หลายเดือนก่อน

    but we have to add all mails to verified. For the use case of registration I need to get email verified for recipent also

  • @sunmania1
    @sunmania1 2 ปีที่แล้ว

    Any chance to get the Git link?

  • @sureshmanne7245
    @sureshmanne7245 ปีที่แล้ว +1

    5:40 It's good if you have created the IAM access freshly, this will help new users

    • @sureshmanne7245
      @sureshmanne7245 ปีที่แล้ว

      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)

    • @sureshmanne7245
      @sureshmanne7245 ปีที่แล้ว

      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?

  • @toannguyenthe5422
    @toannguyenthe5422 ปีที่แล้ว

    Let's me know how to get credentials accesskeyId and secretKey ?

  • @lakhansinghlodhi4146
    @lakhansinghlodhi4146 ปีที่แล้ว

    can you send all dependencies you used

  • @adarshmohan5350
    @adarshmohan5350 2 ปีที่แล้ว

    Hi
    SimpleEmailServiceMailSender shows error...not defined....how to import this....can you help

    • @saurabhrangnekar
      @saurabhrangnekar 2 ปีที่แล้ว +4

      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

  • @ghosttown3850
    @ghosttown3850 2 ปีที่แล้ว

    How do I include attachments?

    • @technotowntechie9732
      @technotowntechie9732  2 ปีที่แล้ว

      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);
      }
      });
      }
      }

  • @user-fy6gi6ob5r
    @user-fy6gi6ob5r ปีที่แล้ว

    Good tutorial but no source code given

  • @cloudtechlearn9622
    @cloudtechlearn9622 2 ปีที่แล้ว

    Any clue...I get this error...............java.lang.NoSuchFieldError: CLIENT_ENDPOINT....