API ××××ר ××××§×ר×× × ×¢× ×ª××ת ×××ר ×××ת×ת ××××ר××.
curl https://api.mail.hostinger.com/v1/emails \
-H "Authorization: Bearer $MAIL_API_KEY" \
-d '{
"to": "alex@example.com",
"subject": "Welcome aboard!"
}'ת××ת ×××ר ×××, ×× ××¨× ××× ×ת.
שרת MCP
Node.js SDK
PHP SDK
Python SDK
××שק ×§× ×¤×§×××
REST API ×-webhooks
ספר××ת ×-CLI
TypeScript / Node.js
hostinger-mail-api-sdk
npm install hostinger-mail-api-sdk
PHP
hostinger/mail-api-php-sdk
composer require hostinger/mail-api-php-sdk
Python
hostinger-mail-api
pip install hostinger-mail-api
CLI
hostinger-mail
brew install hostinger/tap/hostinger-mail
×ª× ×ס××× ×©×× ×ª××ת ×××ר ×××ת×ת
×××ת
ש×××ת ×××ת××ת
×××ר×× ×× ×× ×ת××
××××¨× per-mailbox
×××ר ××¡×¤× ××××× ×¢× 30 ×××
×××× ××× ×¢×ª
ת×××× 24/7
×תר×× ×ת:
×תר×× ×ת:
×תר×× ×ת:
×תר×× ×ת:
×תר×× ×ת:
×תר×× ×ת:
××× ×ª××× ×ת ×ש ×ת ×× ×× ×©××ª× ×¦×¨×××× ×××תר
ת××× ×ª Workflows Developer
JSON
ת×××× ×××× ××ת
{
"event": "message.received",
"mailbox": "agent@yourdomain.com",
"message": {
"from": "customer@example.com",
"subject": "Order #1042: where is my package?",
"thread_id": "thr_8fk2m01x"
}
}Node.js
××פ×ש ×ס×רת ×§××××
const urgent = await mail.messages.search({
query: 'is:unread label:urgent',
});
for (const message of urgent) {
await mail.drafts.create({ replyTo: message.id });
}Shell
תסר×× ×××ª× ×××ר××× × ×©××
$ hostinger-mail messages list --unread
$ hostinger-mail send \
--to alex@example.com \
--subject "Deploy finished"ש×××× ×××× ×¢× ×ר××× ××¢×××× ×©××
×פת××ת API
× ×§×××ת ×§×¦× Webhook
×××× × ×××"×
Hostinger Mail API
×× ×× Hostinger Mail API?
Hostinger Mail API ××× ×ש×× ××××ר ××××§×ר×× × ××ת××× ×ª ×¢××ר ×פ××קצ××ת, ×תר×× ×ש×ר×ת×× ×××ר×××. ×ש××× ×××ר ×××§×ר×× × ××קר××, ××פש, ××ר××, ××××× ×××××××צ×× ×ª××ת ×××ר × ×× ×¡ ×××ת×ת ×××צע×ת SDKs, CLI, REST API ×- webhooks.
×× ×××× Hostinger Mail MCP Server ×עש×ת?
שרת ×- Hostinger Mail Live MCP ×ספק ×ס××× × AI ××× ×ª××ת ×××ר ת××××× ×©××××× ××תקשר ××××× ×ש×ר×ת. ×ס××× ×× ×××××× ××שת×ש ××××× ××× ××× ×קר×× ×©×××ת, ××פש ××××¢×ת, ×רש×× ×ª×©×××ת, ×ס×ר ×××ר × ×× ×¡ ×××פע×× ×ר××× ×¢×××× ×©× ×ª×××ת ×××ר ×× ×× ×¡.
××× ××××ר ×-Transaction Email API?
Hostinger Mail API ×ש××ת ש×××ת ×××ר ×××§×ר×× × ×©× ××ש×××× ××קרת ת××ת ×××ר ×× ×× ×¡ ×××ת×ת ×¢× ×¤× × ×ש×× ×ת××× ×ª ×××. ××× × ×× ×ª× ×¢××ר ×××ר ×××§×ר×× × ×©× ××צר ××©× ×ר××ת ×¢×××× ×××§×× ×ש××× × ×¤× ××××.
×××× ×©×¤×ת ×××שק×× × ×ª××××?
ת××× ×ת ×-SDK ×©× ×¦× ×¨×ש×× ×××× ×ת ×¢××ר Node.js, PHP ×-Python. ××פשר××ª× ×× ××שת×ש ×××שק ש×רת ×פק××× ×× ××תקשר ×-REST API ×ש×ר×ת ××× ×©×¤× ×©×ª×××ת ×-HTTP.
××× ×× × ×××× ××××¨×©× ×××ר××¢× ×ª××ת ××××ר?
××. Webhooks ××פשרת ××פ××קצ×× ×©×× ××××× ×פע×××ת ת××ת ×××ר ×××ת××× ×ר×××ת ×¢×××× ×××× ×××××§ ש×× ×ש×× ×©×× ××××.
××× ××§×××× ××¤×ª× API?
×ת××ר ×-hPanel, ×¤×ª× ×ת ×××ר ×-API ××צר ××¤×ª× ×××× ××רצ×× ×©××. ש××ר ×¢× ×××¤×ª× ×××××× ××× ××××× ×××ª× ××§×× ×××§×ר ש××.
×××¤× ×××× ××צ×× ×ת ××ס××××?
××§×¨× ×ת××¢×× Hostinger Mail API ××§××ת ××ר×× ×××ª×§× ×, ××¤× ××ת API ×פר×× ××× ××רצ××.
××× ×× × ×××× ××שת×ש ××× ××פ××קצ×× ×× ××תר ש××?
××. ×שת××©× ×- REST API, ×- SDK ×× ×- CLI ××× ×ש××× ×××ר ×××§×ר×× × ××ש××× ×ת××ת ××××ר ×× ×× ×¡ ××××ת×ת ××× ×פ××קצ××, ×תר ××× ××¨× × ×× ×××ר×. ס××× ×× ×××צע×ת MCP × ×ª×××× ×× ×× ××פצ××× ××××.