-
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.
- Loading branch information
Showing
23 changed files
with
303 additions
and
46 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 |
---|---|---|
@@ -1,2 +1,19 @@ | ||
# docs-and-examples | ||
QUEUEMAIL.DEV docs & examples | ||
# QUEUEMAIL.DEV | ||
|
||
QUEUEMAIL.DEV allows you to send emails via API using one or more SMTP servers in order to ensure deliverability and avoid SMTP stress. | ||
|
||
Some sample features: | ||
|
||
- You can program sending emails in a synchronous or asynchronous way: With [logs endpoint](api-logs.md) you can check send status for every email sent. | ||
|
||
- Also, with [webhooks](features-webhooks.md), you can run processes when an event (like email sucessfully sent) occurs for a complete integration. | ||
|
||
- With [sending email endpoint](api-mails.md) you can discard sending errors before you start a SMTP session. | ||
|
||
- Track opened emails and clicked email links with [tracking endpoint](api-tracking.md). | ||
|
||
- ...and much more at [docs](https://docs.queuemail.dev). | ||
|
||
Free tier does not support Queuemail professional SMTP servers. So you must to configure [free SMTP servers](other-freesmtps.md) or your custom SMTP server. | ||
|
||
|
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 |
---|---|---|
@@ -1,8 +1,31 @@ | ||
* [API reference](api.md "API reference") | ||
** [Login](login.md) | ||
** [Apps](apps.md) | ||
** [SMTPs](smtps.md) | ||
** [Mails](mails.md) | ||
** [Blacklists](blacklists.md) | ||
** [Logs](logs.md) | ||
** [Tracking](tracking.md) | ||
### Features: | ||
* [Fault tolerance strategies](features-smtpstrategies.md) | ||
* [Loging activity and erros](features-loging.md) | ||
* [Blacklists](features-blacklists.md) | ||
* [Webhooks](features-webhooks.md) | ||
* [Limit origin](features-limitorigin.md) | ||
* [Data retention](features-dataretention.md) | ||
|
||
|
||
### API Reference: | ||
* [API limitations](api-limitations.md) | ||
* [API access](api-access.md) | ||
* [Login](api-login.md) | ||
* [Apps](api-apps.md) | ||
* [SMTP servers](api-smtps.md) | ||
* [Mails](api-mails.md) | ||
* [Blacklists](api-blacklists.md) | ||
* [Logs](api-logs.md) | ||
* [Tracking](api-tracking.md) | ||
|
||
|
||
### Other: | ||
* [FAQs](other-faqs.md) | ||
* [Free SMTP servers](other-freesmtps.md) | ||
|
||
|
||
### Legal: | ||
* [Private policy](legal-privatepolicy.md) | ||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
|
||
|
||
For accessing QUEUEMAIL API you need to [register here](signup.md). Then, with your username and password, you can [login](api-login.md) and get a token you will use in all API operations. | ||
|
||
Token expiration = 24 hours. | ||
|
||
### API endpoint base URL: | ||
|
||
https://api.queuemail.dev/api | ||
|
||
|
||
|
||
|
||
|
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
#### You must consider our **API free-tier** has the following limitations: | ||
|
||
- You can send up to 1,000 emails per month. This is quite a bit for most of small to medium projects. | ||
- You can only use your SMTP servers or 3rd party SMTP servers (Google, Outlook, etc.). No access to Queuemail.dev professional SMTP severs. | ||
- Logs (if activated) are removed by 30 days. | ||
- Data are hosted in our data infraestructure. No access to configure your own infraestructure (database). | ||
- Normal queue processing (no priority for send email faster). | ||
|
||
|
||
#### For **professional use** we can offer a custom solution removing these limits: | ||
|
||
- More emails per month. | ||
- Access to Queuemail.dev professional SMTP servers (including option for sending with your own domain). | ||
- No limit for logs retention. | ||
- Host all your data in your own database (only you can access these data). | ||
- Acelerated queue processing (emails are sent faster). | ||
|
||
If your are intested in a professional custom solution, please, contact <a href="info@queuemail.dev">info@queuemail.dev</a>. | ||
|
||
|
File renamed without changes.
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Blacklists feature let recipients to include their email addresses in a blacklist in order to block future email sendings from app asociated to that blacklist. | ||
|
||
Also, the system can include a email address in a auto-blacklist when it detects that email address has permanent errors. | ||
|
||
That is, each app can contain a blacklist and an auto-blacklist. | ||
|
||
For activating blacklist feature you must use *useblacklist=true* when [creating/editing your app](api-apps.md). | ||
|
||
For activating auto-blacklist feature you must use *useautoblacklist=true* when [creating/editing your app](api-apps.md). | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Apps, by default, retain subject and body data **until email is sucessfully sent**. Then, these data are permanently removed. | ||
|
||
If you want to retain these data permanently, you must use *retaindata=true* when [creating/editing your app](api-apps.md). | ||
|
||
If you want to use *attachmenttype=URL* when you [send an email](api-mails.md), you must use *retaindata=true* in your app. | ||
|
||
Whether you use *retaindata=true* or not you can call [/private/mails/remove](api-mails.md) endpoint to remove all data and logs of finished emails. | ||
|
||
Due to traceability reasons, we do not remove any email address. | ||
|
||
Please, read our [private policy](legal-privatepolicy.md) for more info about data privacy. | ||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
When [creating/editing your app](api-apps.md) optionally you can set a origin server or IP in order to limit servers/IPs from which [call to send emails](api-mails.md) can be made. | ||
|
||
If you don't set this parameter your app can be used from any IP without checking request origin. | ||
|
||
For specify origin server you must use *originserver* parameter with values like "*myserver.com*" or "*192.168.0.1*". | ||
|
||
Also, you can specify multiple servers/IPs with comma separated values: "*myserver.com,192.168.0.1*" | ||
|
||
If you are using this feature, when sending emails, you will receive error if the origin email does not match with *originserver* specified in your app. At the error description you will get received server/IP as origin of your request. Thus, you can fix *originserver* whith the correct value. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Apps always log email activity and errors. | ||
|
||
Log entries can be related with: | ||
|
||
- Emails sucessfully sent. | ||
- SMTP errors. | ||
- Erros related with domain/MX DNS zones. | ||
- Apps/users deactivated. | ||
- Blacklist/auto-blacklist email addresses. | ||
|
||
... and more. | ||
|
||
These log entries are deleted by 30 days, but you can use [get email logs](api-logs.md) call for saving pemanent them in your own database. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
You can improve app fault tolerance if you define several SMTP servers. | ||
|
||
Thus, if a SMTP fails, then the app will retry to send emails with another one. | ||
|
||
When [creating/editing your app](apps.md), you can choose beetween RANDOM and PRIORITY strategies for SMTP selection. | ||
|
||
If you don't specify *strategy* parameter, RANDOM strategy is assumed by default. | ||
|
||
If you specify *strategy=PRIORITY*, in each mail sending SMTP server with higher priority will be use at first. In case of error, next SMTP with higher priority will be used, and so on. | ||
|
||
You can define priority for each SMTP when [creating/editing your SMTP servers](api-smtps.md). | ||
|
||
With *strategy=RANDOM* also any SMTP server are used in case of error using the previous one, but they are randomly selected. | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Webhooks feature let you to configure your own URLs in order to run processes when an event occurs at queuemail.dev. | ||
|
||
There are the following webhook events: | ||
|
||
- *sending_finished*: URL is called with param *qm_idsending* (id of sent mail) when email is sucessfully sent. | ||
- *sending_error*: URL is called with param *qm_idsending* (id of sent mail) when email send fails. | ||
- *tracking_opened*: URL is called with params *qm_idsending* (id of sent mail) and *qm_email* (recipient email) when email is opened. | ||
- *tracking_clicked*: URL is called with params *qm_idsending* (id of sent mail), *qm_email* (recipient email) and *qm_url* (url clicked) when recipient clicks a link email (qm_url). | ||
- *blacklisted_added*: URL is called with params *qm_idsending* (id of sent mail) and *qm_email* (email address to blacklist) when an email address is added to blacklist. | ||
|
||
You can configure your webhooks URLs when [creating/editing your app](api-apps.md). | ||
|
||
|
||
|
||
|
||
|
||
|
Oops, something went wrong.