1

In my Drupal 8 site, I am using Arabic email for sign up, log in, forgot password. I get Arabic email content, however, the email content is left aligned. I am using PHP Mailer on my site for sending emails. When I tried with Mail Systems + Mime Mail + SMTP, then I get an error like "reply-to" is not set. Is it possible to align Arabic email content from right to left using PHPMailer?

1 Answer 1

0

You can install Mime Mail or HTML Mail module to enable HTML emails in your Drupal instance.
Then, through configuration translation, you can add dir="rtl" to the container enclosing your Arabic email message.

8
  • Thanks for your reply.Am trying with the option.When i have send a test email,then showing "reply-to" email not to set.How can i solve this?
    – salu
    Aug 29, 2018 at 11:27
  • Which module did you use? How are you sending the test email? Aug 29, 2018 at 11:36
  • Am using Mail system+HTML mail.In "config/system/htmlmail/test" we can sent the test mail.I have also tried with Mimemail+Mail system+SMTP the same error have shown.
    – salu
    Aug 29, 2018 at 11:40
  • Am using Mail system+HTML mail.In "config/system/htmlmail/test" we can sent the test mail.I have also tried with Mimemail+Mail system+SMTP the same error have shown.
    – salu
    Aug 29, 2018 at 11:41
  • This might be a specific error with your mail service provider. Aug 29, 2018 at 11:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.