WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Error sending email (Read 774 times)
Trey
YaBB Newbies
*
Offline



Posts: 2
Error sending email
Oct 20th, 2016 at 10:47pm
 
I recently had a problem with a directory monitor task that quit running, I checked and the db associated with it had grown to 70Gig. I also saw there is a new version out so went ahead and upgraded. I deleted the send email task that had gotten so big and reset it up like before. I didn't redo the System.Mail task which may be my problem. New files are triggering an email but I am getting an error from my SMTP, here is part of the message:

    rcpt_to:

      SmtpCmdResp: 550 <!-midM> invalid address '!-midM'

      550 <!-midM> invalid address '!-midM'

      Failed when sending RCPT TO:<!-midM>

      lastResponseLine: 550 <!-midM> invalid address '!-midM'

      bad_address: !-midM

      SmtpCmdResp: 550 <----------------------> invalid address '----------------------'

      550 <----------------------> invalid address '----------------------'

      Failed when sending RCPT TO:<---------------------->

      lastResponseLine: 550 <----------------------> invalid address '----------------------'

      bad_address: ----------------------

      SmtpCmdResp: 550 <!-endmidM> invalid address '!-endmidM'

      550 <!-endmidM> invalid address '!-endmidM'

      Failed when sending RCPT TO:<!-endmidM>

      lastResponseLine: 550 <!-endmidM> invalid address '!-endmidM'

      bad_address: !-endmidM

    --rcpt_to

It looks like variables are not getting filled in or something. Do I just need to redo the System.Mail task?

Thanks
Trey
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Error sending email
Reply #1 - Oct 21st, 2016 at 12:29pm
 
Hi,

I am not totally sure what is happening, it may be that the emails that are ready to be sent got corrupt in some way.

Do this...
Stop your tasks (especially System.Mail)
Right click System.Mail, select "explore..." (some directory), this opens explorer inside the directory with emails (*.wdmail files and *.wdmailcombine files) waiting to be sent. Something like C:\ProgramData\WatchDirectory\System.Mail\Out.
Remove all of them (or move them somewhere else).
Go to ...\System.Mail\Fail and clean it up as well.

Restart your tasks and see if it works now.

mmmm, I now remember one case ~1 year ago, a customer had the same issue. His problem was that he had 2 installs of WatchDirectory, one (the old version) inside
C:\Program Files (x86)\WatchDirectory
and the other (new version) inside
C:\Program Files (x86)\WatchDirectory\WatchDirectory.
The big problem was that System.Mail (wdPostman.exe) that was running was the OLD version. His task that created emails was a NEW version. The new task created wdmail files with new syntax not understood by the old version.

Please check if you only have ONE wdPostman.exe on your system....

Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Trey
YaBB Newbies
*
Offline



Posts: 2
Re: Error sending email
Reply #2 - Oct 21st, 2016 at 4:28pm
 
Thanks for getting back to me. That looks to be the issue. Should I backup the task and uninstall/reinstall or can i just copy files from new install over the old files and delete the subdirectory.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: Error sending email
Reply #3 - Oct 22nd, 2016 at 7:18am
 
I think the following should do the trick:

In the WD Control Center select the menu
View -> Email -> Automatically start/stop the postman service
On the popup, tell it to disable the postman service. This will unregister the old version.
Do the same again and tell it to enable the postman service. This will register the new version.
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1