[Solved] myStuff w/ triggered e-mails no longer works

General Discussion

[Solved] myStuff w/ triggered e-mails no longer works

Postby bradrel » Mon Jan 20, 2014 11:03 am

Hello,

I have been using the "myStuff Updated w/ triggered e-mails" to send emails to different email addresses depending on the type of alarm. Original thread is here: http://www.nutech.com/index.php?option=com_fireboard&Itemid=0&func=view&id=1349&catid=4&limit=6&limitstart=0

I updated to the latest version of AlarmDecoderGUI and it no longer works. The old version of mystuff.dll will not load in the new version of AlarmDecoderGUI. Using the latest version of mystuff.dll shows the following error when trying to send an email: !MS> Error sending alert: Object reference not set to an instance of an object

Here is my mystuff.config file:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <!-- mail1 settings-->
    <mail_host>MY EMAIL HOST</mail_host>
    <mail_port>25</mail_port>

    <!-- if you need authorized user/pass -->
    <mail_user>MY AUTH EMAIL ADDRESS/mail_user>
    <mail_pass>MY AUTH EMAIL PASSWORD</mail_pass>
    <mail_enable_ssl>false</mail_enable_ssl>

    <!-- who was the mail from -->
    <mail_from>MY FROM ADDRESS/mail_from>

    <!-- who is the mail to?  One or two destinations-->
    <mail1_to>MY EMAIL ADDRESS FOR MAIL1 ALERTS/mail1_to>
    <mail2_to>MY EMAIL ADDRESS FOR MAIL2 ALERTS</mail2_to>

<!-- On/off switches for which messages are sent to which mail-->
<!-- Options are: mail1, mail2, both, none  (all lower case)-->
  <sendto_Initialize>mail1</sendto_Initialize>
  <sendto_Arm>mail1</sendto_Arm>
  <sendto_Disarm>mail1</sendto_Disarm>
  <sendto_AlarmBell>both</sendto_AlarmBell>
  <sendto_FireAlarm>both</sendto_FireAlarm>
  <sendto_AC>both</sendto_AC>
  <sendto_Chime>none</sendto_Chime>
  <sendto_SecretSensor>none</sendto_SecretSensor>

<!-- Secret Sensor name for instant message, spell sensor out (case sensitive) -->
  <secret_sensor_name>ALARM 06 WATER</secret_sensor_name>

</Configuration>


Any help is greatly appreciated.
Thanks
--
Brad
bradrel
newt
newt
 
Posts: 10
Joined: Fri May 11, 2012 5:08 am

Re: myStuff w/ triggered e-mails no longer works

Postby mathewss » Mon Jan 20, 2014 11:33 am

Hay Brad.

Your mystuff has some custom mods I have not added to release yet. Did you get that mystuff from someone or compile it yourself or was it already compiled?

Recompiling is no problem and I can help but first we need to find the mystuff.cs file you are using.

Re
Sean M
mathewss
Moderator
Moderator
 
Posts: 188
Joined: Fri Dec 06, 2013 11:14 am

Re: myStuff w/ triggered e-mails no longer works

Postby bradrel » Mon Jan 20, 2014 11:43 am

mathewss wrote:Hay Brad.

Your mystuff has some custom mods I have not added to release yet. Did you get that mystuff from someone or compile it yourself or was it already compiled?

Recompiling is no problem and I can help but first we need to find the mystuff.cs file you are using.

Re
Sean M


Hi Sean - I am going off memory here, but I believe I just downloaded the mystuff.dll from that old thread and then modified the config file.

Thanks
--
Brad
bradrel
newt
newt
 
Posts: 10
Joined: Fri May 11, 2012 5:08 am

Re: myStuff w/ triggered e-mails no longer works

Postby bradrel » Mon Jan 20, 2014 11:48 am

bradrel wrote:
Hi Sean - I am going off memory here, but I believe I just downloaded the mystuff.dll from that old thread and then modified the config file.

Thanks
--
Brad


I take that back, I found a customized mystuff.cs in my old install directory that I may have used. I will PM it to you.

Thanks
--
Brad
bradrel
newt
newt
 
Posts: 10
Joined: Fri May 11, 2012 5:08 am

Re: myStuff w/ triggered e-mails no longer works

Postby mathewss » Mon Jan 20, 2014 12:18 pm

Ok. I recompiled it and sent it your way. Let me know.

Re
Sean M
mathewss
Moderator
Moderator
 
Posts: 188
Joined: Fri Dec 06, 2013 11:14 am

Re: myStuff w/ triggered e-mails no longer works

Postby bradrel » Mon Jan 20, 2014 12:41 pm

mathewss wrote:Ok. I recompiled it and sent it your way. Let me know.

Re
Sean M


Hi Sean - thanks for the file, unfortunately I still get the same message: !MS> Error sending alert: Object reference not set to an instance of an object
bradrel
newt
newt
 
Posts: 10
Joined: Fri May 11, 2012 5:08 am

Re: myStuff w/ triggered e-mails no longer works

Postby mathewss » Mon Jan 20, 2014 12:45 pm

Could I get you to zip up your entire folder and send it to ad2usb@support.nutech.com. You can remove your user/pass data from the config before you send it that shoudl not effect my debugging.

Re
Sean M
mathewss
Moderator
Moderator
 
Posts: 188
Joined: Fri Dec 06, 2013 11:14 am

Re: myStuff w/ triggered e-mails no longer works

Postby mathewss » Mon Jan 20, 2014 12:48 pm

scratch that. I can reproduce already. I will let you know.

Thanks
Sean M
mathewss
Moderator
Moderator
 
Posts: 188
Joined: Fri Dec 06, 2013 11:14 am


Return to General

Who is online

Users browsing this forum: Google [Bot] and 41 guests

cron