Skip to content

Commit e035c32

Browse files
committed
Small formatting change in the README
1 parent 99e87e7 commit e035c32

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ in there for an example of how to do this.
429429

430430
## Email Utilities ##
431431
A library that can be used to send emails on behalf of the system. It is specifically set up for use with a gmail account. The application configuration file (config.js) should have the following settings defined in order for this to work:
432-
email_account: "[email protected]" // This email address is set-up and ready to use
433-
email_password: "****" // If you don't know the password, email me at [email protected] to find out, and pass it along to anyone else.
434-
email_smtp_server: "smtp.gmail.com" // The smtp server (outgoing mail server).
432+
email_account: "[email protected]" // This email address is set-up and ready to use
433+
email_password: "****" // If you don't know the password, email me at [email protected] to find out, and pass it along to anyone else.
434+
email_smtp_server: "smtp.gmail.com" // The smtp server (outgoing mail server).
435435

436436
### Email Utilities API ###
437437
**Load the email utilities library:**
@@ -442,7 +442,7 @@ email_smtp_server: "smtp.gmail.com" // The smtp server (outgoing mail server).
442442
* **emailUtil.sendHTMLEmailToAddress(toEmailAddress, subject, body, function(error, success) {})** - Sends an HTML formatted email to the given email address. The body parameter may contain html formatting (i.e body = '<b>hi</b> friend!')
443443

444444
### Notes ###
445-
Please be careful not to commit your config.js file with the password in there.
445+
Please be careful not to commit your config.js file with the password in there. It should be automatically ignored (since it is in the .gitignore file), but just in case.
446446

447447
Sometimes emails take a few seconds to send, so it's probably better NOT to render any page responses inside the callbacks. Instead, render the page outside the callback like this:
448448

0 commit comments

Comments
 (0)