Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cc142f8

Browse filesBrowse files
committed
drop <> for the keys
1 parent 941ce20 commit cc142f8
Copy full SHA for cc142f8

File tree

Expand file treeCollapse file tree

1 file changed

+10
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-10
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Use you EmailJS account for sending emails.
99

1010
## Disclaimer
1111

12-
This is a NodeJS-only version, otherwise use
12+
This is a React Native version, otherwise use
1313
- [Browser SDK](https://www.npmjs.com/package/@emailjs/browser)
1414
- [Flutter SDK](https://pub.dev/packages/emailjs)
1515
- [Node.js SDK](https://pub.dev/packages/@emailjs/nodejs)
@@ -58,8 +58,8 @@ const templateParams = {
5858
};
5959

6060
emailjs
61-
.send('<YOUR_SERVICE_ID>', '<YOUR_TEMPLATE_ID>', templateParams, {
62-
publicKey: '<YOUR_PUBLIC_KEY>',
61+
.send('YOUR_SERVICE_ID', 'YOUR_TEMPLATE_ID', templateParams, {
62+
publicKey: 'YOUR_PUBLIC_KEY',
6363
})
6464
.then(
6565
(response) => {
@@ -78,10 +78,10 @@ import emailjs from '@emailjs/react-native';
7878

7979
// set Public Key as global settings
8080
emailjs.init({
81-
publicKey: '<YOUR_PUBLIC_KEY>',
81+
publicKey: 'YOUR_PUBLIC_KEY',
8282
});
8383

84-
emailjs.send('<YOUR_SERVICE_ID>', '<YOUR_TEMPLATE_ID>').then(
84+
emailjs.send('YOUR_SERVICE_ID', 'YOUR_TEMPLATE_ID').then(
8585
(response) => {
8686
console.log('SUCCESS!', response.status, response.text);
8787
},
@@ -98,11 +98,11 @@ import emailjs, { EmailJSResponseStatus } from '@emailjs/react-native';
9898

9999
try {
100100
await emailjs.send(
101-
'<YOUR_SERVICE_ID>',
102-
'<YOUR_TEMPLATE_ID>',
101+
'YOUR_SERVICE_ID',
102+
'YOUR_TEMPLATE_ID',
103103
{},
104104
{
105-
publicKey: '<YOUR_PUBLIC_KEY>',
105+
publicKey: 'YOUR_PUBLIC_KEY',
106106
},
107107
);
108108
console.log('SUCCESS!');
@@ -129,8 +129,8 @@ var templateParams = {
129129
};
130130

131131
emailjs
132-
.send('<YOUR_SERVICE_ID>', '<YOUR_TEMPLATE_ID>', templateParams, {
133-
publicKey: '<YOUR_PUBLIC_KEY>',
132+
.send('YOUR_SERVICE_ID', 'YOUR_TEMPLATE_ID', templateParams, {
133+
publicKey: 'YOUR_PUBLIC_KEY',
134134
})
135135
.then(
136136
function (response) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.