Author |
Topic |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 26 September 2015 : 18:06:54
|
Here's an excerpt from a program. Using the same "inc_mail.asp" which the forum uses (successfully) and the same server and email addresses, for some reason this won't send the mail. Any ideas?
|
|
huwsnitz
Starting Member
United Kingdom
5 Posts |
Posted - 27 September 2015 : 06:41:29
|
could for any of lots of reasons I'm afraid. Are you trying to run the script on the same server as the working forum that sends mail successfully? |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 27 September 2015 : 07:59:01
|
Yes. Same server, same site. |
|
|
Webbo
Average Member
United Kingdom
982 Posts |
Posted - 27 September 2015 : 15:32:30
|
Does the server require authentication for emails sent via smtp and as the script isn't giving the authentication details it is functioning but not sending? |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 27 September 2015 : 15:43:06
|
Nope, that's not it. The same include is used for both, functions from the forum, as is. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 28 September 2015 : 16:53:13
|
Just a quick question, given that the page that you are using is outside of the Snitz Forum software from what you wrote, how does it know which mail component to use from the inc_mail.asp file to send mail? Or is it in the bounds of the forum software?
|
Cheers, David Greening |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 28 September 2015 : 20:27:07
|
@HuwR - No, it's on a hosted server. No access to the logs.
@Classic - the mail component is specified at the top of the include. That's the only change to the file. I also tested it by embedding the case procedure (see below) directly into this file, no change.
Found the issue. On another server, it works just fine. There's apparently a mail back-log or denial of service going on at test site. |
Edited by - Carefree on 28 September 2015 21:35:04 |
|
|
|
Topic |
|