cotonti.com : \n in emails from contact plugin https://www.cotonti.com Последние сообщения в теме Cotonti en Sun, 12 Oct 2025 11:22:17 -0000 Twiebie By default in the config the template is empty.

]]>
сб, 15 сен 2012 18:00:54 -0000
esclkm OK! bug in default variant of the config?

]]>
сб, 15 сен 2012 17:50:59 -0000
Twiebie #35460 esclkm:

See contact plugin settings! it has hustomizable template

Please elaborate.

Added 3 hours later:

Ah, I see.

When I use something like this in the template it doesn't produce the \n.

Name: {$author}
Subject: {$subject}

{$text}
]]>
сб, 15 сен 2012 14:01:57 -0000
esclkm See contact plugin settings! it has hustomizable template

]]>
сб, 15 сен 2012 06:32:11 -0000
Twiebie Ticket added.

https://github.com/Cotonti/Cotonti/issues/1030

]]>
пт, 14 сен 2012 20:19:09 -0000
Trustmaster This must be contact plugin bug then. I would be grateful if you created a github issue for this :)

]]>
пт, 14 сен 2012 19:49:18 -0000
Twiebie Other emails sent from the website are indeed fine.

Just the ones from the contact plugin have the \n issue.

]]>
пт, 14 сен 2012 17:48:23 -0000
Trustmaster Are other emails sent from the site (PM notifications for example) alright or do they have the same \n issue?

]]>
пт, 14 сен 2012 17:43:11 -0000
Twiebie Whenever I receive an email via the contact plugin I get something like this:

Sender: Twiebie (email@address.com) \n
: This is a test\n
Message:\nPraesent vitae augue arcu, vitae scelerisque massa. Sed lobortis rutrum feugiat. Nam semper lectus at ligula laoreet dignissim. Duis posuere velit nec leo elementum eget volutpat eros ornare. Aliquam ligula lacus, commodo id tincidunt et, lacinia id est. Proin ac libero nulla, nec dictum ante.\n\n

I've tried it on a few different servers with the latest Cotonti Siena.

]]>
пт, 14 сен 2012 00:48:42 -0000