Last active
July 11, 2017 16:44
-
-
Save kseniya292/9e3ee25f40f2696783d970cae7bdcabb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onSubmit(name, email, message) { | |
this._emailService.sendEmail({ | |
from: 'Mailgun Sandbox <postmaster@sandboxXXXXXXXXXXXXXXXXXXXXX.mailgun.org>', | |
to: email, | |
name: name, | |
text: message, | |
}) | |
.subscribe( | |
() => {}, | |
err => console.log(err) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment