1 (edited by Klappspaten 2009-04-18 16:22)

Topic: Too much empty lines in mails.

Hi!

A have an mail template, translated into German. But after every line an empty line is inserted. So Mails are very stratched.

I checked the template and it's ok.

Example:

<sender> aus dem ema09-Forum hat Dir eine Nachricht gesendet. Du kannst <sender> antworten, indem Du auf diese E-Mail antwortest.

Die Nachricht ist:
...

<sender> aus dem ema09-Forum hat Dir eine Nachricht gesendet. Du kannst <sender> antworten, indem Du auf diese E-Mail antwortest.



Die Nachricht ist:

...

How can I change it?

Thanks!

Re: Too much empty lines in mails.

If it's doing that, then just remove a line break on the template where that happens.

There's probably a fix to be applied to the code but for the moment that's the best thing to do.

Re: Too much empty lines in mails.

That wouldn't work, because the there is also an empty line in the mail when there is only one break.

For example:

Line 1
Line 2

>>

Line 1

Line 2

I can't copy and paste them together ...

4

Re: Too much empty lines in mails.

Look for the newline characters in include/email.php, where the text is generated for the e-mail.