forked from IshaanAdarsh/ezmail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request IshaanAdarsh#118 from SanskarSonwani/fix-#117
fixes-issues IshaanAdarsh#117
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,9 @@ | |
let mail = '[email protected]'; | ||
let id = '' ; | ||
let send = () => { | ||
let body = document.getElementById("text").value; | ||
var text = document.getElementById('text').value.split('\n'); | ||
var body = text.join('%0D%0A'); | ||
let bod = document.getElementById("text").value; | ||
let email = id; | ||
let subject = data.post.title; | ||
window.location = "mailto:" + email + "?subject=" + subject + "&body=" + body; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,9 @@ | |
let mail = '[email protected]'; | ||
let id = '' ; | ||
let send = () => { | ||
let body = document.getElementById("text").value; | ||
var text = document.getElementById('text').value.split('\n'); | ||
var body = text.join('%0D%0A'); | ||
let bod = document.getElementById("text").value; | ||
let email = id; | ||
let subject = data.post.title; | ||
window.location = "mailto:" + email + "?subject=" + subject + "&body=" + body; | ||
|