Win a copy of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Piet Souris

Basically this code can run to send email & sms notification to customer. I need to do some changes.

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm stuck to make some changes on this coding, to ensure no emails sent via bpaNotificationService if email in object (in the CustomerOrder class) is null, so it doesn't throw error logs? And also to include an info logger to say that "not sending email because no email is given".

This is only if it's email notification only, which is checking whether email notification key is not null.

Generally in the list, we have . Thus, my idea is to:

Use the to get the specific object from .
Once I got the specific object, check whether got email to send the notifications.

My first bit of advice is that if you are going to be a mime, you shouldn't talk. Even the tiny ad is nodding:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic