Page 1 of 1

yawcam fails sending email on motion detection

Posted: Fri Sep 30, 2022 8:14 am
by mfran2002
Hi all,
I installed YC on 3 PCs and only on one of those I'm getting troubles with email sending on motion detection.
Exactly the same settings on each PC.
On that PC I can successfully send email (with powershell for example) with the same parameters (from, to, smtp server, port#, ssl).

The console gets me the error like this: "fail to connect to the SMTP server"

but the smtp server is the same of the other PCs, everything is identical.
and with powershell or telnet I can reach the smtp server...
I tried to explicitly allow the YC app (both yawcam.exe and yawcam_service.exe) on the windows firewall, no other firewalls on the machines.

I see that YC detects the motion and says "email sent to my mailbox", but nothing arrives... neither in SPAM.

what else I can try?

thank you all!
mf

Re: yawcam fails sending email on motion detection

Posted: Mon Oct 10, 2022 1:59 pm
by malun
Strange that you get different behavior with the same settings.
As a first step, you could try to update the mail library used in Yawcam described here:
viewtopic.php?f=4&t=13084

You can also generate debug info, described here:
viewtopic.php?f=2&t=1495
It might help us understand what the problem is.

/malun

Re: yawcam fails sending email on motion detection

Posted: Mon Oct 24, 2022 3:47 pm
by mfran2002
thank you Malun!
I will try this evening and let you know!!!

many thanks

Re: yawcam fails sending email on motion detection

Posted: Tue Oct 25, 2022 8:54 am
by mfran2002
excellent Malun!!!

it works fine!!!

but now YC cannot start as a service any longer. I got this message:


C:\Program Files (x86)\Yawcam>NET START "Yawcam"
System error 193 has occurred.

*** is not a valid Win32 application.

*********************
*** ERROR ***
*********************
Press any key to continue . . .

My laptop has win10pro, 64 bit. It's HP 255 G6 if it can help

thank you so much

Re: yawcam fails sending email on motion detection

Posted: Tue Oct 25, 2022 11:22 am
by mfran2002
Hi Malun,
sort it out!!!

here the issue solved:

https://answers.microsoft.com/en-us/win ... c399318a5d

Re: yawcam fails sending email on motion detection

Posted: Fri Sep 08, 2023 9:28 am
by porschegild
mfran2002 wrote: Tue Oct 25, 2022 11:22 am Hi Malun,
sort it out!!!

here the issue solved:

https://answers.microsoft.com/en-us/win ... c399318a5d geometry dash world
Amazing!