পণ্যের অংশে চলে যান
LCPanelলাইসেন্স সেন্টার প্যানেল

ই-মেইল, SMS ও WhatsApp

ডায়াগনস্টিকস ও মেইল কিউসহ PHP mail বা SMTP, সম্পাদনযোগ্য ই-মেইল টেমপ্লেট, তৈরি SMS গেটওয়ে প্রিসেট, WhatsApp লিংক বা API মোড এবং মেসেজ টেমপ্লেট।

ব্যবসা পরিচালনা হালনাগাদ ৬ নভে ২০২৬ ১১ / ৩১

The system writes to your dealers by e-mail, SMS and WhatsApp. E-mail is set up on Admin → E-mail Setup (permission Configure e-mail (PHPMail / SMTP)); SMS and WhatsApp on the SMS gateway and WhatsApp tabs of Admin → Settings (permission Change system settings). The support contacts your dealers see are on Settings → Support contacts.

E-mail

Sending method

The card Sending method has the Driver: PHP mail() — the server's own mailer (nothing to set up, but on most shared hosting it is switched off or lands in spam) or SMTP — an external mail server (far more reliable for Gmail and Outlook). Fill in From name and a From address on your own domain, so messages pass SPF and DKIM.

For SMTP, the card SMTP server asks for Host, Port (587 for STARTTLS, 465 for SSL, 25 for none), Username, Password (left empty, the saved one is kept) and Encryption. On cPanel: create a mailbox such as info@yourdomain.com, then use mail.yourdomain.com, port 465 with SSL / TLS, the full address as username and the mailbox password. Press Save the settings.

Diagnostics and the test

Diagnostics checks what usually goes wrong: a From address not on your domain, an SMTP host that does not answer (it really connects), a missing username, PHP mail() switched off, messages stuck in the queue.

Send a test sends one message at once to the address you type and shows the server's own error when it fails. Save first, then test.

The mail queue

No e-mail is lost. Every message is stored in the queue and sent at once; a message the server refuses stays there with the reason, and the scheduled job tries again, no sooner than five minutes after the last try (see Scheduled jobs). After five tries it is marked failed.

The card Mail queue lists the latest messages with the attempts and the last error. Retry now works through the waiting ones, Retry beside a message tries that one at once (a failed one too), × removes it, and Clear delivered tidies up. A message that failed because SMTP was wrong goes out once you fix the settings and retry. Recent e-mail log shows the last fifteen e-mails.

E-mail templates

The card E-mail templates lists every e-mail the system sends, in groups: Dealers (application received, dealership approved, welcome with sign-in details, new price list), Invoices & prices (an invoice), Accounts (an account made for somebody), Support (a ticket reply), Repairs & earmoulds (a job booked or moved on), Alerts to you (a notification sent on by e-mail, a backup finished or failed) and Your own templates.

Each row shows who it goes to, the subject and On or Off. Beside it: Edit, Preview, Switch off / Switch on, Reset for one you changed, Delete for your own. A template that is off is simply not sent.

The editor has Sending (On / Off), Subject, Heading (the large line at the top) and Message, with the placeholders you can use listed underneath, such as {name}, {invoice}, {link}. How it looks now shows the saved version with made-up details. Empty a box and it goes back to the wording it arrived with. + Add a template makes one of your own, with a Template name.

Every e-mail, newsletters included, goes out inside the same Header and Footer. The header shows {logo}: the logo from Settings → General (PNG, JPG, GIF or WebP), or the faruk.bd logo when there is none. The footer shows your company name, e-mail, phone, website and the year, taken from Settings → Company & invoice; the placeholders are listed under the boxes. Put back the default undoes your changes.

Send an e-mail sends any switched-on template to up to 100 addresses you type, with Their name filling {name}. Your own templates suit it best.

SMS

Admin → Settings → SMS gateway: tick Enable SMS sending and pick the Provider: Custom / any HTTP gateway, RT Communications (rtcom.xyz), BulkSMSBD (bulksmsbd.net), Alpha SMS (sms.net.bd), MIM SMS (mimsms.com), ElitBuzz (elitbuzz-bd.com), Greenweb (greenweb.com.bd), Twilio or MSG91. Picking one fills in the web address, method and extra parameters. Nothing is locked: your account's address may differ from the documentation.

Then How it connects:

  • API key / token and Sender ID / mask / approved sender from your provider's panel;
  • Country calling code, 88 for Bangladesh, so 01711-223344 is sent to 8801711223344;
  • for most providers: Request method, Gateway URL with {to}, {text}, {key} and {sender} in it, and Extra parameters, one name=value per line;
  • for RT Communications instead: Account code, Message type (Transactional or Promotional), Template ID, and the button Check the connection & balance.

Press Save settings, then Send a test message. Whatever the gateway answers is repeated word for word; that is usually the reason when it fails.

Send a message sends one SMS to the numbers you paste (up to 200) and lists the result for each. The counter under the box shows the cost: 160 characters per SMS in English, 70 as soon as one Bengali letter appears.

WhatsApp

Admin → Settings → WhatsApp: tick Enable WhatsApp sending and choose How messages are sent:

ModeHow it works
Click-to-chat linkFree. Nothing leaves the server: each message becomes a wa.me link, WhatsApp opens with the text written, and someone presses send.
GREEN-APIFree tier. Create an instance at green-api.com, scan its QR code with the phone that has your WhatsApp, fill in Instance id (idInstance), API token instance and API URL, then Check the connection. The phone must stay on and online.
Any other HTTP APIAPI endpoint and API token; the endpoint is posted {to, message, token}.

Send a test sends one to the number you type. In click-to-chat mode it always "succeeds": it only builds the link.

Message templates

The card Message templates on the WhatsApp tab holds the wording of every SMS and WhatsApp message; both channels use the same words.

MessageSent when
An invoice is readyYou send an invoice by SMS or WhatsApp.
Welcome, when a dealer is addedA dealer is added; {login} carries the sign-in details when a login was made.
A job has been booked, An update on a jobThe repair and earmould addons move a job.
A notice sent to dealers by SMSA notification is also sent by SMS.

Each row has Edit, Send (puts the words into Send a message), Switch off / Switch on, and Reset or ×. In the editor, click a placeholder to insert it; the counter shows the cost. A line whose placeholders all come out empty is left out. Untick Send this message to stop it on both channels. Add a message writes one of your own, for example an Eid greeting. {company}, {phone} and {site} work in every message.

Every SMS and every server-sent WhatsApp is logged; the latest appear under Admin → Newsletter → Recent delivery log, with the reason for each failure.

এটি কি কাজে লেগেছে?
এই অধ্যায়টি শেয়ার করুন