Project

General

Profile

feature request #9758

EmailService implemented

Added by Andreas Kohlbecker about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
09/14/2021
Due date:
% Done:

100%

Severity:
normal

Description

A service to send emails

Configuration of the following properties should be possible via a Spring-PropertySource:

# ===============================
# = MAIL configurations
# ===============================
  mail:
    default-encoding: UTF-8
    host: mail.bgbm.org
    username: sender@bgbm.org
    password: 09182309812
    port: 587
#    host: mailrelay.fu-berlin.de
#    username: test
#    password: test
#    port:
    properties:
      mail:
        smtp:
          auth: true
          starttls:
            enable: true
    protocol: smtp
    test-connection: false

For the actually implemented solution, see below ....


Related issues

Related to Edit - feature request #9497: User self registration service New 03/02/2021

Associated revisions

Revision bcf94376 (diff)
Added by Andreas Kohlbecker about 1 month ago

fix #9758 configuration for sending emails with JavaMailSenderImpl

Revision 82da5e6c (diff)
Added by Andreas Kohlbecker about 1 month ago

ref #9758 configuration for sending emails with smtp properties

Revision 3ac9e408 (diff)
Added by Andreas Kohlbecker about 1 month ago

ref #9758 option to define custom configurations in test and production systems#

Revision ba7678ee (diff)
Added by Andreas Müller about 1 month ago

ref #9758 try to fix dependency issue in mailing test dependencies

Revision 353c0eee (diff)
Added by Andreas Kohlbecker about 1 month ago

ref #9758 application.properties for the production environement

History

#1 Updated by Andreas Kohlbecker about 1 month ago

#2 Updated by Andreas Kohlbecker about 1 month ago

We can use the org.springframework.mail.javamail.JavaMailSenderImpl instead of implementing our own service

#3 Updated by Andreas Kohlbecker about 1 month ago

  • Status changed from New to In Progress
  • Assignee changed from Andreas Müller to Andreas Kohlbecker

#4 Updated by Andreas Kohlbecker about 1 month ago

  • Description updated (diff)

#5 Updated by Andreas Kohlbecker about 1 month ago

  • Description updated (diff)

the mail configuration section in a aspplication.properties file for the currently implemented SendEmailConfigurer

# ===============================
# = MAIL configurations
# ===============================
mail.default-encoding: UTF-8
mail.host: smtp.web.de
mail.from-address: kohlbecker@web.de
mail.username: kohlbecker@web.de
mail.password: ********
mail.port: 587
# JavaMailProperties
mail.smtp.auth: true
mail.smtp.starttls.enable: true
# this properties allows for disabling the mail agent
mail.disabled: false 

#6 Updated by Andreas Kohlbecker about 1 month ago

  • Description updated (diff)

#7 Updated by Andreas Kohlbecker about 1 month ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 50

#8 Updated by Andreas Müller about 1 month ago

  • Target version changed from Release 5.28 to Release 5.27

#9 Updated by Andreas Kohlbecker about 1 month ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100

implemented, covered by integration tests and not causing problem in existing apps -> can be closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)