Wiser and SendEMail

Discussion in 'C-Bus Wiser 1 Controller' started by nickrusanov, Jun 11, 2013.

  1. nickrusanov

    nickrusanov

    Joined:
    Aug 5, 2004
    Messages:
    308
    Likes Received:
    0
    Location:
    russia
    From PICED e-mail is sent correctly and group is ON.
    From Wiser e-mail is not sent and group is ON.

    Can anyone advise how to check if problem is in code or in Wiser connection?

    Code:
    {Send mail}
    
    once (GetLightingState("group1") = ON) then
    begin
    SendEMail (1, '[email protected]', 'testt', 'testt2');
    SetLightingState("group2", ON);
    end;
    Thank you
     

    Attached Files:

    nickrusanov, Jun 11, 2013
    #1
  2. nickrusanov

    kjayakumar

    Joined:
    Oct 27, 2008
    Messages:
    448
    Likes Received:
    0
    Looks like it should work. The only way that I am aware of to identify the problem is to wireshark the connection going out from the Wiser. The way that I do that is to connect the Wiser's WAN port (or LAN if you are running in LAN mode) to a hub and then connect the hub to the upstream. Then you can connect a PC to the hub as well and then use wireshark to capture the traffic going out from the Wiser to see why the mail server is rejecting (or other form of error) that could be occurring. Wiser has a more cut down mail client than PICED and as a result could be experiencing difficulty with some mail servers.
     
    kjayakumar, Jun 12, 2013
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.