- 2.1: Как это работает?
- 2.2: Это бесплатно?
- 2.4: Список Защищенных Адресов
- La page courante est 2.5: HTTP API
- 2.6: файлами
- 2.8: Контакты
HTTP API
Hypertext Transfer Protocol (HTTP) is the life of the web. Our HTTP API allows you to interact with our system programmatically from your own application by HTTP Request. Moreoever, you can easily use our services by only HTTP Request.
|
|
URL
The URL for our HTTP API requests is here
http://anonym-mail.5ymail.com/sendapi.php
PARAMETERS
Parameter | Description |
user | An active username in our system |
pass | The password of your username |
fremail | This is From email. This email will be set into From of the email |
rcemail | This is recipient emai which you want to send to. |
name |
From name. This name will be set into Name of the email. |
sj | Subject/Title of email |
ads | Advertisement at the email bottom. Value: True or False or 1 or 0. |
notify | Email notification. Notification of read/unread anonymous emai via your real email. Value: True or False or 1 or 0. |
reply | Want to get the reply email from recipient or not. The reply email will be routed into your inbox in our system. Value: True or False or 1 or 0. |
content | That is the content of email. |
EXAMPLE
http://anonym-mail.5ymail.com/sendapi.php?user=<your_user_name>&pass=<your_password>&fremail=<xxx@gmail.com>&rcemail=<xxx@gmail.com>&sj=<title_of_email>&name=<your_name>&ads=true¬ify=true&reply=true&content=Hello everyone, this is the test
STATUS
Name | Description |
OK |
Everything is OK. The email is sent succesfully. |
USERNAME_INVALID |
Username is invalid |
FROM_EMAIL_INVALID |
From email is invalid |
RECIPIENT_EMAIL_INVALID |
Recipient email is invalid |
SUBJECT_INVALID |
Email Subject/Title is invalid |
FROM_NAME_INVALID |
From name is invalid |
EMAIL_CONTENT_MISSING |
Email content is invalid |
FAIL_TO_CONNECT_DATABASE |
Fail to connect to our database |
ACCOUNT_NOT_ACTIVE |
Account is not active account. It should be a active account |
USERNAME_PASSWORD_INCORRECT |
Username/Password is incorrect |
USERNAME_NOT_EXIST |
Username does not exist in our system |
MISSING_USERNAME_PASSWORD | Missng username/password. They are not empty. |