Autoreply shows slashes when activated.

Discussion in 'General' started by damir, Jun 20, 2006.

  1. damir

    damir New Member

    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:

    Code:
    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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    How does the original message look like? Please also post the message as it is stored in the ISPConfig database.
     
  3. damir

    damir New Member

    Original message in autoreply message box:

    Code:
    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:

    Code:
    Hej,
    \
    
    \
    Jag är ute just nu och återkommer kl:16.00
    \
    
    \
    Mvh
    \
    
    \
    //damir
    
     
  4. falko

    falko Super Moderator ISPConfig Developer

    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...).
     
  5. damir

    damir New Member

    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?
     
  6. mig71sg

    mig71sg New Member

    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
     
    Last edited: Aug 9, 2006
  7. falko

    falko Super Moderator ISPConfig Developer

    You have Windows linebreaks in .vacation.msg (^M). But I don't know where the backslash at the end comes from... :confused:
     
  8. brian

    brian New Member

    Anyone find an answer to this problem?

    Because I'm getting the same thing.

    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
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    I will check the script, I guess there is a striplsahes missing in the code.
     
  10. damir

    damir New Member

    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.
     
  11. mig71sg

    mig71sg New Member

    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
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Thanks for this notice.

    The script is:

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

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

Share This Page