PDA

View Full Version : Autoreply shows slashes when activated.


damir
20th June 2006, 10:09
I have activated Autoreply for a user and when i try to send a message to user i'm getting this in autoreplay message.

Here is a test message that i have just sent to user and this is what im getting in reply:


Hej,
\

\
Jag är ute just nu och återkommer kl:16.00
\

\
Mvh
\

\
//damir


I tried several mail clients and couple of webmails but im still getting this slahes "\"

Im using Perfect Debian 3.1 setup.

Thanx in advanced

Kind regards

//damir

falko
21st June 2006, 02:01
How does the original message look like? Please also post the message as it is stored in the ISPConfig database.

damir
21st June 2006, 14:10
Original message in autoreply message box:


Hej,

Jag är ute just nu och återkommer kl:16.00

Mvh

//damir

It looks ok when im typing autoreplay message as shown above but this is how it looks in database.

Message from database:


Hej,
\

\
Jag är ute just nu och återkommer kl:16.00
\

\
Mvh
\

\
//damir

falko
22nd June 2006, 15:47
When you type in the autoresponder message, please make sure the text doesn't contain tabs or other special characters (although I don't think this could be a problem...).

damir
27th June 2006, 15:07
Thanx for the replay.

Message is plaintext message without any tabs or strange characters.

I have no clue where to start to look. What should i do ? any clues?

mig71sg
9th August 2006, 16:30
I have the same effect.
but i doen't see in which script, think it be a parsing problem.

has anyone a new idea? :)

A example from ".vacation.msg" see "^M\"

---
hola!^M\
^M\
Deine Anmeldung ist angekommen, danke!^M\
^M\
hasta luego^M\
----

cheers Michel

falko
10th August 2006, 18:48
You have Windows linebreaks in .vacation.msg (^M). But I don't know where the backslash at the end comes from... :confused:

brian
30th August 2006, 22:02
Because I'm getting the same thing.

Original Message:

Your request for support has been received. You should hear back from us within 48 hours from the receipt of your request.

If you don't receive a reply from us after 48 hours contact the system administrator @ administrator@anythinggoes.dns2go.com

Thank you for using our support system.


Message Output:

Your request for support has been received. You should hear back from us within 48 hours from the receipt of your request.\
\
If you don\'t receive a reply from us after 48 hours contact the system administrator @ administrator@anythinggoes.dns2go.com\
\
Thank you for using our support system.\


I had to reformat the message so that the \ would not appear. I had to eliminate the carriage returns so that there are no paragraphs in the message. I also had to remove all comma's and apostrophes for the received message to display properly.

Thanks

till
31st August 2006, 10:22
I will check the script, I guess there is a striplsahes missing in the code.

damir
4th September 2006, 17:55
Great Till

Now i know im not alone with the problem :)

I need this to work badly because i have several clients that use Autoreply on daily basis.

mig71sg
4th September 2006, 18:05
Hello,

I find something :)

When you make a autorespont on Admin's Interface, then you have no "backslashes", thats ok.

But when you open "/mailuser" then you have this problem with "\" on each line in autoresponder.

Which script handle mailuser autoresponder? I think that can be the issue.

thx Michel

till
5th September 2006, 11:50
Thanks for this notice.

Which script handle mailuser autoresponder? I think that can be the issue.

The script is:

/home/admispconfig/ispconfig/web/mailuser/mail/autoresponder.php

I guess it is the escapeshellcmd function that adds the slashes.