Not Sending Email
-
- Posts: 13
- Joined: Wed Dec 01, 2010 10:40 pm
Not Sending Email
I setup the SMTP and tested it and it says it is successful. I then added an FTP event on OnFileUploaded to send an email to myself using the SMTP configuration I setup, but whenever I upload a file through FTP I don't get the email. Any ideas?
-
- Site Admin
- Posts: 2087
- Joined: Tue Sep 29, 2009 6:09 am
Re: Not Sending Email
Please see the server logs and domain logs, check whether c_SendMail() was successful or not.
-
- Posts: 13
- Joined: Wed Dec 01, 2010 10:40 pm
Re: Not Sending Email
It doesn't even seem like it is triggering c_SendMail(). Here is the log for the file I just uploaded which should trigger an email:
[05] Thu, 09 Dec 2010 14:04:03 (0000100) Start uploading file '28 page + cover.doc'
[05] Thu, 09 Dec 2010 14:04:03 (0000100) List ok
[05] Thu, 09 Dec 2010 14:06:11 (0000097) Keep alive
[05] Thu, 09 Dec 2010 14:08:00 (0000098) Keep alive
[05] Thu, 09 Dec 2010 14:08:35 (0000100) Keep alive
[05] Thu, 09 Dec 2010 14:10:58 (0000100) List ok
[05] Thu, 09 Dec 2010 14:11:11 (0000097) Keep alive
[05] Thu, 09 Dec 2010 14:11:17 (0000100) List ok
[05] Thu, 09 Dec 2010 14:13:00 (0000098) Keep alive
Any ideas?
[05] Thu, 09 Dec 2010 14:04:03 (0000100) Start uploading file '28 page + cover.doc'
[05] Thu, 09 Dec 2010 14:04:03 (0000100) List ok
[05] Thu, 09 Dec 2010 14:06:11 (0000097) Keep alive
[05] Thu, 09 Dec 2010 14:08:00 (0000098) Keep alive
[05] Thu, 09 Dec 2010 14:08:35 (0000100) Keep alive
[05] Thu, 09 Dec 2010 14:10:58 (0000100) List ok
[05] Thu, 09 Dec 2010 14:11:11 (0000097) Keep alive
[05] Thu, 09 Dec 2010 14:11:17 (0000100) List ok
[05] Thu, 09 Dec 2010 14:13:00 (0000098) Keep alive
Any ideas?
-
- Site Admin
- Posts: 2087
- Joined: Tue Sep 29, 2009 6:09 am
Re: Not Sending Email
You may see it on "Server -> Log & Status -> Server Logs". Thanks!
-
- Posts: 13
- Joined: Wed Dec 01, 2010 10:40 pm
Re: Not Sending Email
All I have in that log is:
[01] Thu, 09 Dec 2010 15:33:52 Wing FTP Server started.
It doesn't seem like the event is triggering. I also had the event trigger to create a log file when a file is uploaded and that didn't work either. We are using version 3.7.2 Corporate.
[01] Thu, 09 Dec 2010 15:33:52 Wing FTP Server started.
It doesn't seem like the event is triggering. I also had the event trigger to create a log file when a file is uploaded and that didn't work either. We are using version 3.7.2 Corporate.
-
- Site Admin
- Posts: 2087
- Joined: Tue Sep 29, 2009 6:09 am
Re: Not Sending Email
Please make sure you have set the event correctly, there are three types: FTP Event, SSH Event, HTTP Event.
For example, when you set the FTP Event OnFileUploaded, only FTP uploading will be triggered.
For example, when you set the FTP Event OnFileUploaded, only FTP uploading will be triggered.
-
- Posts: 13
- Joined: Wed Dec 01, 2010 10:40 pm
Re: Not Sending Email
I have set the FTP onFileUploaded event for the domain I am using. It has a little green "+" next to it's name now. When I upload a file, it doesn't trigger.
-
- Posts: 13
- Joined: Wed Dec 01, 2010 10:40 pm
Re: Not Sending Email
Does Wing FTP need to be running as a service for the events to work?
-
- Posts: 13
- Joined: Wed Dec 01, 2010 10:40 pm
Re: Not Sending Email
OK, figured out that it needed to be the HTTP event, but now I get this error in the Server Log:
[01] Fri, 10 Dec 2010 08:49:14 Lua Scripts start sending mail to xxxx@xxxx.com.
[05] Fri, 10 Dec 2010 08:49:19 Mail to xxxx@xxxx.com failed,send header to server error.
Any ideas on this?
[01] Fri, 10 Dec 2010 08:49:14 Lua Scripts start sending mail to xxxx@xxxx.com.
[05] Fri, 10 Dec 2010 08:49:19 Mail to xxxx@xxxx.com failed,send header to server error.
Any ideas on this?
-
- Posts: 13
- Joined: Wed Dec 01, 2010 10:40 pm
Re: Not Sending Email
Nevermind, figured it out.