smtpjs.com
Open in
urlscan Pro
109.169.71.112
Public Scan
Submitted URL: http://smtpjs.com/
Effective URL: https://smtpjs.com/
Submission: On January 17 via manual from US — Scanned from GB
Effective URL: https://smtpjs.com/
Submission: On January 17 via manual from US — Scanned from GB
Form analysis
2 forms found in the DOM<form class="form-horizontal">
<fieldset>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Originating SMTP Host</label>
<div class="col-md-4">
<input id="tbSpamHost" name="textinput" type="text" placeholder="smtp.spammer.com" class="form-control input-md">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Originating Email Address</label>
<div class="col-md-4">
<input id="tbSpamEmail" name="textinput" type="text" placeholder="spammer@fakedomain.com" class="form-control input-md">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Any other information</label>
<div class="col-md-4">
<textarea id="tbSpamInfo" name="textinput" type="text" placeholder="spammer@fakedomain.com" class="form-control input-md"> </textarea>
</div>
</div>
<!-- Button -->
<div class="form-group">
<label class="col-md-4 control-label" for="singlebutton"></label>
<div class="col-md-4">
<a id="btnReportSpam" name="singlebutton" class="btn btn-primary">Report Spam</a>
</div>
</div>
</fieldset>
</form>
<form class="form-horizontal">
<fieldset>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">SMTP Host</label>
<div class="col-md-4">
<input id="tbHost" name="textinput" type="text" value="smtp.elasticemail.com" class="form-control input-md">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">SMTP Username</label>
<div class="col-md-4">
<input id="tbUsername" name="textinput" type="text" placeholder="you@isp.com" class="form-control input-md">
</div>
</div>
<!-- Password input-->
<div class="form-group">
<label class="col-md-4 control-label" for="passwordinput">SMTP Password</label>
<div class="col-md-4">
<input id="tbPassword" name="passwordinput" type="password" placeholder="******" class="form-control input-md">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Domain</label>
<div class="col-md-4">
<input id="tbDomain" name="textinput" type="text" placeholder="*.yourwebsite.com" class="form-control input-md">
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Use SSL</label>
<div class="col-md-4">
<input type="checkbox" name="cbUseSsl" id="cbUseSsl" autocomplete="off" checked="">
<div class="[ btn-group ]">
<label for="cbUseSsl" class="[ btn btn-default ]">
<span class="[ glyphicon glyphicon-ok ]"></span>
<span> </span>
</label>
<label for="cbUseSsl" class="[ btn btn-default active ]"> Use SSL </label>
</div>
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Port</label>
<div class="col-md-4">
<input type="number" value="25" id="tbPort" class="form-control input-md">
</div>
</div>
<!-- Button -->
<div class="form-group">
<label class="col-md-4 control-label" for="singlebutton"></label>
<div class="col-md-4">
<a id="btnSecurityToken" name="singlebutton" class="btn btn-primary">Generate security token</a>
</div>
</div>
</fieldset>
</form>
Text Content
SMTPJS.COM SEND EMAIL FROM JAVASCRIPT * CDN * Download Toggle navigation SmtpJS.com * Getting Started * Security GETTING STARTED * 1. Include the script: <script src="https://smtpjs.com/v3/smtp.js"> </script> * 2. Send an email using: Email.send({ Host : "smtp.yourisp.com", Username : "username", Password : "password", To : 'them@website.com', From : "you@isp.com", Subject : "This is the subject", Body : "And this is the body" }).then( message => alert(message) ); No SMTP server? Setup an SMTP server here SECURITY Whoa!, wait a minute. I don't want my SMTP credentials visible to the world! We've thought of that, so instead you can encrypt your SMTP credentials, and lock it to a single domain, and pass a secure token instead of the credentials instead, for example: Email.send({ SecureToken : "C973D7AD-F097-4B95-91F4-40ABC5567812", To : 'them@website.com', From : "you@isp.com", Subject : "This is the subject", Body : "And this is the body" }).then( message => alert(message) ); Encrypt your SMTP Credentials Note: By default, the SMTP connection is secure (STARTTLS) and over port 25. If you need to use an SMTP server that does not accepts secure connections, or in on a non-standard port, like 587, then use the button above "Encrypt your SMTP Credentials" to store advanced configuration. -------------------------------------------------------------------------------- Need an SMTP server: If you don't have access to an SMTP server, you can create one by opening an account at Elastic Email.com, then pressing Settings > SMTP/API, and using the SMTP configuration shown. Get SMTP Credentials ANTI SPAM We don't like spam. Nobody does. We have a zero tolerance for spam. If you get one spam report, we close your account. Sorry about that, but this is a free service, and we're not taking any heat for you. Report Spam CALLBACKS If your code needs to know when the email is sent before continuing, then you should use the promise returned from the send function. This will pass a message of "OK" for success, and an error message as failure. IT'S FREE! This is a free script, no usage restrictions. You can include it license free, in any project, either commercial or non commercial. Attachments: Want to send with attachments?, use the Attachments property: Email.send({ SecureToken : "C973D7AD-F097-4B95-91F4-40ABC5567812", To : 'them@website.com', From : "you@isp.com", Subject : "This is the subject", Body : "And this is the body", Attachments : [ { name : "smtpjs.png", path : "https://networkprogramming.files.wordpress.com/2017/11/smtpjs.png" }] }).then( message => alert(message) ); Dev Tip: If you want to send an attachment in base64 format, instead of passing "path" as a property, send a "data" property in dataUri format. in dataUri format. (Example coming soon!) Sending multiple emails: The "To" property can be an array of email addresses, instead of just one. FOLLOW ME! Got some comments or suggestions? - email me! info@smtpjs.com SMTP.JS WAS DEVELOPED BY INFINITE LOOP LTD × SPAM REPORT Originating SMTP Host Originating Email Address Any other information Report Spam Close × ENCRYPT YOUR SMTP CREDENTIALS SMTP Host SMTP Username SMTP Password Domain Use SSL Use SSL Port Generate security token Close