Email settings (SMTP)
/email-settingsemail-settings.view (görme) · email-settings.edit (kaydetme, parola, deneme gönderimi)outbox.view (Gönderim Kuyruğu) · outbox.edit (Yeniden dene)CoreX ERP sends email from the installation's own SMTP server. Each installation enters its server on this screen; the setting is stored in the database and does not ship with the software. "Bildirimler, parola sıfırlama ve davet iletileri bu sunucudan gider. Sunucu alanını boş kaydetmek e-postayı kapatır." (Notifications, password reset and invitation messages are sent from this server. Saving the server field empty turns email off.)
Where email is used
| Use | How it is sent | Without SMTP |
|---|---|---|
| Notification email (approval, alert, rule, system notifications) | Through the Gönderim Kuyruğu (Send Queue), in the background | The notification appears in the bell; the queue message waits with the error "SMTP tanımlı değil — … Tanımladıktan sonra yeniden deneyin." (SMTP is not defined — … Retry after defining it.) |
| Daily digest (Application + daily digest preference) | A single message every morning | Not sent. |
| User invitation and password reset | Directly | The invitation and reset link cannot be sent by email. |
| Document email — Çıktı › E-posta ile Gönder (Output › Send by Email) on the document detail (quotation, order and other documents with output) | Through the queue (at most 3 attempts, at most 20 recipients) | Sending is refused: "E-posta sunucusu (SMTP) tanımlı değil — Yönetim › Özelleştirme › Genel › E-posta Ayarları." (No email server (SMTP) is defined — Administration › Customization › General › Email Settings.) |
| Carrier request for quotation (transport tender invitation) | Through the queue | "E-posta sunucusu (SMTP) tanımlı değil — teklif isteği gönderilemez; e-postasız açın ya da SMTP'yi tanımlayın." (No email server (SMTP) is defined — the request for quotation cannot be sent; create it without email or define SMTP.) |
| e-Archive invoice email | Sent by the integrator (e-Belge Ayarları › Belgeler › e-Arşivi e-postayla ilet — e-Document Settings › Documents › Send e-Archive by email) | Independent of this setting. |
Email Settings screen
Yönetim › Özelleştirme › Genel › E-posta Ayarları (Administration › Customization › General › Email Settings). Three panels: server settings, Parola (Password), Deneme gönderimi (Test send).
- 1Status and settings source
- 2Server — empty = e-mail off
- 3Connection security — suggests the port
- 4User name — empty = relay without auth
- 5Sender address and name
- 6Test — with saved settings
The badge at the top shows the sending status (Gönderim açık (Sending on) / Gönderim kapalı (Sending off)), and the sentence next to it states the source of the setting:
| Sentence | Meaning |
|---|---|
| E-posta gönderilmiyor: sunucu tanımlı değil. (Email is not being sent: no server is defined.) | There is neither a record on this screen nor a server configuration. |
| Gönderim bu ekrandaki ayarla yapılıyor. (Sending uses the setting on this screen.) | There is a record on this screen; it applies. |
| Gönderim sunucu yapılandırmasıyla (Smtp) yapılıyor. İlk kayıt ayarı bu ekrana taşır; parolayı burada yeniden girin. (Sending uses the server configuration (Smtp). The first save moves the setting to this screen; re-enter the password here.) | There is no record on the screen; the SMTP in the installation's server configuration is used. The first Kaydet (Save) on this screen takes the setting over to the screen. |
If there is a record on this screen, it is authoritative: a record with an empty server field turns email off even if SMTP is in the configuration.
Server fields
| Field | Value | Description |
|---|---|---|
| Sunucu (Server) | Host name, e.g. smtp.sirketiniz.com; at most 255 characters, no spaces | SMTP server. Saving it empty turns email off ("Kaydedildi — sunucu boş olduğu için e-posta kapalı." — Saved — email is off because the server is empty.). |
| Bağlantı güvenliği (Connection security) | STARTTLS (genellikle 587) (STARTTLS, usually 587) · SSL/TLS (genellikle 465) (SSL/TLS, usually 465) · Şifresiz — yalnız iç ağ rölesi (genellikle 25) (Unencrypted — internal relay only, usually 25) | Default STARTTLS. The selection also suggests the port: if the port is at its usual value it changes with the security setting; a manually entered port is kept. Unencrypted is used only for an internal relay. |
| Port | 1–65535 | Default 587. The port provided by your provider. |
| Kullanıcı adı (User name) | At most 256 characters | SMTP authentication. "Boşsa kimlik doğrulamasız gönderim (iç ağ rölesi)." (If empty, sending without authentication (internal relay).) |
| Gönderen adresi (Sender address) | Valid email, at most 256 characters | The message's "From" address. "Boşsa kullanıcı adı gönderen olur." (If empty, the user name becomes the sender.) — in that case the user name must also be an email address. |
| Gönderen adı (Sender name) | At most 128 characters, e.g. the company name | The sender name the recipient sees. |
At the bottom of the panel: "Son değişiklik: tarih · kişi" (Last change: date · person) (or "Bu ekranda henüz kayıt yok." — No record on this screen yet.) and Kaydet (Save). When leaving with unsaved changes, the system asks.
Save messages: "E-posta ayarları kaydedildi." (Email settings saved.), "Port 1 ile 65535 arasında olmalı." (Port must be between 1 and 65535.), "Sunucu adı boşluk içeremez." (The server name cannot contain spaces.), "Gönderen adresi geçerli bir e-posta olmalı (boşsa kullanıcı adı kullanılır)." (The sender address must be a valid email (if empty, the user name is used).), "E-posta ayarları siz düzenlerken değişti. Sayfayı yenileyip yeniden kaydedin." (The email settings changed while you were editing. Refresh the page and save again.)
Password
The password is not sent with the form; it is saved separately, stored encrypted, and its value never comes back to the screen. The row shows the saved status: "••••• kayıtlı · tarih · kişi" (••••• saved · date · person) or "Parola kayıtlı değil" (No password saved).
| Button | What it does |
|---|---|
| Parola gir (Enter password) / Parolayı değiştir (Change password) | Opens the password field; Parolayı kaydet (Save password) (or Enter) saves it and clears the field ("Parola kaydedildi." — Password saved.), Vazgeç (Cancel) closes it. At most 256 characters. |
| Parolayı kaldır (Remove password) | Deletes the saved password ("Parola kaldırıldı." — Password removed.). |
The password is not accepted until the server setting is saved on this screen: "Önce sunucu ayarlarını kaydedin; parola bu ekrandaki ayarla birlikte kullanılır." (Save the server settings first; the password is used together with the setting on this screen.) If the saved password cannot be decrypted, the test says "Kayıtlı SMTP parolası çözülemedi; parolayı yeniden girin." (The saved SMTP password could not be decrypted; re-enter the password.)
Test send
"Kayıtlı ayarla bir deneme iletisi gönderir; sunucunun hatası olduğu gibi gösterilir." (Sends a test message with the saved setting; the server's error is shown as is.) If the recipient box is empty, the test goes to the address of the signed-in user. Deneme e-postası gönder (Send test email):
- Is disabled while there are unsaved changes — "denenen ayar görünen ayar olmalı" (the tested setting must be the displayed setting).
- Is disabled while sending is off ("Gönderim kapalı: önce sunucuyu kaydedin." — Sending is off: save the server first.).
- Does not go through the queue; it is sent immediately. On success: "Deneme iletisi … adresine gönderildi." (Test message sent to ….); on error, the server's response: "E-posta gönderilemedi: …" (Email could not be sent: …) (e.g. authentication rejected, connection timeout, certificate error).
- The message subject is "[CoreX ERP] Deneme e-postası" (CoreX ERP test email), and the body states the server and port.
Send Queue
Yönetim › İzleme › Gönderim Kuyruğu (Administration › Monitoring › Send Queue) — the screen for the question "didn't something that should have been sent go out?". "Arka planda gönderilen e-postalar; gönderim hatası işi geri almaz, mesaj yeniden denenir. Deneme hakkı bitmiş ya da kalıcı hatalı mesaj "gönderilemedi" olarak burada bekler." (Emails sent in the background; a sending error does not roll back the transaction, the message is retried. A message that has used up its attempts or has a permanent error waits here as "gönderilemedi" (could not be sent).)
- 1Summary — pending, sending, failed
- 2Status filter
- 3Attempts
- 4Last server error
Summary at the top: Bekleyen (Pending) · Gönderiliyor (Sending) · Gönderilemedi (Could not be sent) · Son 24 saatte gönderilen (Sent in the last 24 hours). Durum (Status) filter: Açık (bekleyen + gönderilemeyen) (Open (pending + not sent); default), Gönderilemedi (Could not be sent), Bekliyor (Pending), Gönderildi (Sent).
| Column | Description |
|---|---|
| # | Message number. |
| Tür (Type) | E.g. Bildirim e-postası (Notification email). |
| Durum (Status) | Bekliyor (Pending) · Gönderiliyor (Sending) · Gönderildi (Sent) · Gönderilemedi (Could not be sent; red). |
| Deneme (Attempts) | How many times it has been attempted. |
| Oluşturma (Created) | When the message entered the queue. |
| Sonraki deneme / bitiş (Next attempt / finished) | The next attempt time of a pending message, or the finish time of a completed message. |
| Son hata (Last error) | The server's last error. |
| (button) | Yeniden dene (Retry) — only on a Gönderilemedi (Could not be sent) row and with the outbox.edit permission. |
When a notification email fails, it is retried at increasing intervals: 30 s → 2 min → 10 min → 30 min → 2 h → 6 h → 12 h → 24 h; when the attempts (default 8) are used up or the error is permanent, it becomes Gönderilemedi (Could not be sent). If SMTP is defined later, pending messages are sent on the next attempt; messages that could not be sent return to the queue with Yeniden dene (Retry). Only a message that could not be sent can be retried ("Yalnız gönderilemeyen mesaj yeniden denenebilir." — Only a message that could not be sent can be retried.).
Troubleshooting
| Symptom | Where to look |
|---|---|
| Notification in the bell, but no email | Is the badge Gönderim kapalı (Sending off)? Is the person's preference Yalnız uygulama (Application only)? Is the message Bekliyor (Pending) / Gönderilemedi (Could not be sent) in the Send Queue, and what does Son hata (Last error) say? |
| Test returns "E-posta gönderilemedi: …" (Email could not be sent: …) | Are the server name, port and Bağlantı güvenliği (Connection security) the same as the provider's values (587 ↔ STARTTLS, 465 ↔ SSL/TLS)? Are the user name and password correct; does the provider require an app password? |
| The "From" sender is wrong at the recipient | Gönderen adresi (Sender address) and Gönderen adı (Sender name); the provider may allow sending only from the authenticated address. |
| Document email is refused | "E-posta sunucusu (SMTP) tanımlı değil …" (No email server (SMTP) is defined …) — save this screen first. |