Email sender bug

Forum Home Forums Runtime Bugs Server Bugs Email sender bug

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #3091
    tripode
    Participant

    Hello, I am currently testing the Automatic Control Module and I can receive mails with values, time, etc, when an event is triggered. Great !

    But with some channels, the subject or the message get corrupted data. Just only when adding {EvText} field.

    I have tryied many configurations, but when I receive an event from that channel the data comes corrupted, and not with others. Both are ‘real’ type values.

    #3092
    tripode
    Participant

    More info I can add here:

    The corrupt email has

    Content-Type:text/plain;charset=utf-8
    Content-Transfer-Encoding:base64

    The correct mail has:

    Content-Type:text/plain;charset=us-ascii
    Content-Transfer-Encoding:quoted-printable

    The first one comes from a OMROM PLC, and the second one comes from a SIEMENS PLC, but both come from an OPC server through OPC Demo device.

    #3096
    Mikhail
    Moderator

    Hi,
    What text contains the events that cause the error? How to reproduce the error?

    #3099
    tripode
    Participant

    Hi,

    {EvText} contains the event description; should be: ‘Alarm High: 111.1ºC’.

    If I include {EvText} in subject of the messages, all the text in the subject is corrupted too.

    I can reproduce it, as it only fails with the alarms/events coming from OMROM PLC

    #3109
    Mikhail
    Moderator

    Hi,
    You can generate events manually using Server. Can you reproduce the error by creating an event such way?

    #3115
    tripode
    Participant

    Mikhail, If I use the event generation from server I get the emails corrupted when I set ‘Alarm High: 111.1ºC’ in the ‘Description’ field, but I get it OK if I set that field to ‘Alarm High: 111’ (removing .1ºC)

    #3116
    tripode
    Participant

    OK, the problem is the ‘º’ character. If I remove it the message is good.

    #3121
    Mikhail
    Moderator

    Could you determine where the bug makes effect? Can you send email with that sign from Communicator?

    #3127
    tripode
    Participant

    Yes, If I use the ‘command’ feature in Communicator and try to send a simple ‘ º ‘ character both in subject and content fields, the mail is corrupted.

    #3134
    Mikhail
    Moderator

    Thank you. I added this bug to the tracker.

    #3186
    Mikhail
    Moderator

    Hi,
    Strange, but I can’t reproduce. I send command from Communicator using my gmail. Can you send me the text of the command that caused the error?
    Example:
    myemail@gmail.com;Test;100°C

    #3187
    tripode
    Participant

    Hi,

    With this I have the bug: myemail@gmail.com;test;Alarm High: 111.1ºC

    With this I don’t: myemail@gmail.com;test;Alarm High: 111.1C

    #3191
    Mikhail
    Moderator

    Hi,
    Both examples work on my workstation. What mail server do you use for sending (in the “device” properties)? I use gmail.

    #3195
    tripode
    Participant

    Hi, Here using hmailserver. I couldn’t make gmail work.

    #3205
    Mikhail
    Moderator

    For gmail you should “Enable IMAP” on “Forwarding and POP/IMAP” settings.

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.