Email Template

You have to create message to send email.

You can add bellow code to your database > settings table > email_template_config

{"recovery_mail":{"subject":"Recovery Mail","message":"<p>A Recovery mail from {SITE_NAME},<p>Hello {USERNAME}, Use this <b>{PASSWORD} password to login.<p>Please don't share this password anyone.<p>Thank you!<p><br><p>"},"contact_mail":{"subject":"Contact Mail","message":"<p>Contact Mail form {NAME} on {SITE_NAME},<p>Name: {NAME}<p>Email: {EMAIL}<p>Message: {MESSAGE}"},"resend_verify_mail":{"subject":"Resend Verification Mail","message":"<p>Account Verification Mail from {SITE_NAME},<p>Hello {USERNAME}<p>Click\u00a0 verify link to verify your account {LINK}<p><br>"},"email_verification_mail":{"subject":"Account Verification Mail","message":"<p>Account Verification Mail From {SITE_NAME},<p>Congratulations {USERNAME},<p>Name: {USERNAME}<p>Email: {EMAIL}<p>Package: {PACKAGE_NAME}<p>Password: {PASSWORD}<p>Click \/ Copy the verification link {VERIFY_LINK}<p>Thank you!"},"account_create_invoice":{"subject":"Registration Invoice","message":"<p>Subscription Invoice From {SITE_NAME},<p><br><table class=\"table table-bordered\"><tr><td>#<td>Description<br><td>Package name<br><td>Qty<br><td>Price<br><td>Total<br><tr><td>1<td><p>Thank you {Username}<p>for registration on {SITE_NAME}<p>Please pay to continue your account live<br><td><p>{PACKAGE_NAME}<br><td>1<td>{PRICE}<td>{PRICE} USD<br><tr><td><br><td><br><td><br><td><br><td><br><td>{PRICE} \/=<p><br>"},"new_user_mail":{"subject":"New subscriber mail","message":"<p>New Subscriber on {SITE_NAME}.<br>A New subscriber found\u00a0<p>Username: {USERNAME},<p>Email: {EMAIL}<p>Package Name: {PACKAGE_NAME}<p><br><p>Thank you!"},"offline_payment_request_mail":{"subject":"Offline Payment Request","message":"<p>Payment Request on {SITE_NAME}<p><em><b>An Offline payment request from <b> {USERNAME}<p>Name: {USERNAME}\u00a0 \u00a0 \u00a0 Email:\u00a0 \u00a0{EMAIL}\u00a0 \u00a0 Package Name: {PACKAGE_NAME}<p>Price {PRICE} USD\u00a0 \u00a0Txn ID:\u00a0 {TXNID}<p><br><p>Thank you!<p><br>"},"send_payment_verified_email":{"subject":"Payment Invoice","message":"<p>Payment Invoice {SITE_NAME},<p>Name: {USERNAME}\u00a0<p>Email: {EMAIL}\u00a0 <p>Payment method: {PAYMENT_METHOD}<p>Payment Date: {PAYMENT_DATE}\u00a0 <p>Txn ID: {TXNID}<p><br><table class=\"table table-bordered\" style=\"width: 468.656px;\"><tr><td style=\"line-height: 1.42857;\">#<td style=\"line-height: 1.42857;\">Description<br><td style=\"line-height: 1.42857;\">Package name<br><td style=\"line-height: 1.42857;\">Qty<br><td style=\"line-height: 1.42857;\">Price<br><td style=\"line-height: 1.42857;\">Total<br><tr><td style=\"line-height: 1.42857;\">1<td style=\"line-height: 1.42857;\"><p>Your payment has been completed successfully.<p>Your account will be expired on {EXPIRE_DATE}<td style=\"line-height: 1.42857;\"><p>{PACKAGE_NAME}<br><td style=\"line-height: 1.42857;\">1<td style=\"line-height: 1.42857;\">{PRICE}<td style=\"line-height: 1.42857;\">{PRICE} USD<br><tr><td style=\"line-height: 1.42857;\"><br><td style=\"line-height: 1.42857;\"><br><td style=\"line-height: 1.42857;\"><br><td style=\"line-height: 1.42857;\"><br><td style=\"line-height: 1.42857;\"><br><td style=\"line-height: 1.42857;\">{PRICE} \/=<p><br>"},"expire_reminder_mail":{"subject":"Account Expire reminder mail","message":"<p>An\u00a0Account Expire reminder from\u00a0 {SITE_NAME},<p>Name: {USERNAME}\u00a0 \u00a0 \u00a0Email: {EMAIL}<p>Expire date: {EXPIRE_DATE}\u00a0 Day left: {REMAINING_DAYS}"},"account_expire_mail":{"subject":"Account Expired Mail","message":"<p>An Account Expire reminder from {SITE_NAME},<p>Hello {USERNAME},<p>Your account already expired on {EXPIRE_DATE}<p>Email: {EMAIL}"}}

Demo message:

[subject] => Recovery Mail
[message] => 
A Recovery mail from {SITE_NAME},

Hello {USERNAME}, Use this {PASSWORD} password to login.

Please don't share this password anyone.

Thank you!

[subject] => Contact Mail
[message] => 

Contact Mail form {NAME} on {SITE_NAME},

Name: {NAME}

Email: {EMAIL}

Message: {MESSAGE}


Last updated