Project

General

Profile

Actions

feature request #9758

closed

EmailService implemented

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

Status:
Closed
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
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 serviceClosedAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker about 1 year ago

Actions #2

Updated by Andreas Kohlbecker about 1 year ago

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

Actions #3

Updated by Andreas Kohlbecker about 1 year ago

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

Updated by Andreas Kohlbecker about 1 year ago

  • Description updated (diff)
Actions #5

Updated by Andreas Kohlbecker about 1 year 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 
Actions #6

Updated by Andreas Kohlbecker about 1 year ago

  • Description updated (diff)
Actions #7

Updated by Andreas Kohlbecker about 1 year ago

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

Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 5.37 to Release 5.27
Actions #9

Updated by Andreas Kohlbecker about 1 year 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

Actions

Also available in: Atom PDF