Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[Решено] Перенос строки при составлении письма


KoRNeT
 Share

Recommended Posts

Не пашет

пишу 

$mail->setText($this->request->post['enquiry'].'\n'.'Контактное лицо:'.$this->request->post['name'].'\n'.'Контактный email:'.$this->request->post['email'].'\n'.'Контактный номер:'.$this->request->post['telephone']);
приходит письмо вида:

test test test test\nКонтактное лицо:Test\nКонтактный email:[email protected]\nКонтактный номер:88005553535
Edited by afwollis
Link to comment
Share on other sites


попробуйте двойные кавычки вместо одинарных либо тег </br>

как вариант - смотрите реализацию в catalog\model\checkout\order.php

  • +1 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.