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:
parent
2f057dbc16
commit
6a29ebc558
|
@ -223,7 +223,7 @@ export class CommunityEditFormComponent implements OnInit{
|
||||||
}
|
}
|
||||||
|
|
||||||
private sendMailToNewManagers(managers: any) {
|
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 => {
|
res => {
|
||||||
console.log("The email has been sent successfully!")
|
console.log("The email has been sent successfully!")
|
||||||
},
|
},
|
||||||
|
@ -232,7 +232,7 @@ export class CommunityEditFormComponent implements OnInit{
|
||||||
}
|
}
|
||||||
|
|
||||||
private informOldManagersForTheNewOnes(managers: any) {
|
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 => {
|
res => {
|
||||||
console.log("The email has been sent successfully!")
|
console.log("The email has been sent successfully!")
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue