Change email properties

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@53974 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-11-26 15:48:51 +00:00
parent 2f057dbc16
commit 6a29ebc558
1 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ export class CommunityEditFormComponent implements OnInit{
}
private sendMailToNewManagers(managers: any) {
this._emailService.sendEmail(this.properties.sendMailUrl, this.composeEmailForNewManager(this.community.title, managers)).subscribe(
this._emailService.sendEmail(this.properties.adminToolsAPIURL + "/sendMail/", this.composeEmailForNewManager(this.community.title, managers)).subscribe(
res => {
console.log("The email has been sent successfully!")
},
@ -232,7 +232,7 @@ export class CommunityEditFormComponent implements OnInit{
}
private informOldManagersForTheNewOnes(managers: any) {
this._emailService.sendEmail(this.properties.notifyForNewManagers + this.communityId, this.composeEmailToInformOldManagersForTheNewOnes(this.community.title, this.communityId, this.firstVersionOfManagers)).subscribe(
this._emailService.sendEmail(this.properties.adminToolsAPIURL + "/notifyForNewManagers/" + this.communityId, this.composeEmailToInformOldManagersForTheNewOnes(this.community.title, this.communityId, this.firstVersionOfManagers)).subscribe(
res => {
console.log("The email has been sent successfully!")
},