Author |
Topic  |
Nick Cole
Starting Member
20 Posts |
Posted - 01 March 2007 : 13:41:25
|
Apologies if there is an answer elsewhere, but I havegot square eyes and brain with trying to read and interpret all the seemingly similar issues.
I have just put the forum into a website that is running under IIS5 from which formmail has been working for years. I have tried every combination of email and host server name, and other settings related to the host server. But as with everybody else, messages come up saying mail has been sent, but it hasn't!
My ISP gave me the server name but that was tried as above. Under formmail there is no authentication needed or used and I cannot see where there are any settings so assume that (as a non coder) I have to edit something somewhere!
I wouldn't know where to start looking for CDONT or whatever or even actually know what it is!
I'm grateful for any help or plain english explanations. |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Nick Cole
Starting Member
20 Posts |
Posted - 01 March 2007 : 15:20:49
|
CDOSYS (IIS5/5.1/6) (currently set as hosted on an IIS5 server) ASPEmail CDONTS (IIS3/4/5) ChiliMail (ChiliSoftASP) I have tried CDONTS, ASPEmail and CDOSYS. I have also tried lots of different combinations of server names including localhost. The email I have set for administrator is my own, though this will be destination hosted on a different server.
I have tried setting on error to 0 in inc_mail. But no error messages come up! I have no coding experience of asp, but am a techie but the website is not hosted locally. I tried it on a local W2003 svr (IIS6) but the mail didn't work there either, (and I found the Server.MapPath doesn't accept any prefix for forcing an up directory ) so cannot use that as a testbed.
As a workaround I can limit the users and set them all up manually so it isn't quite as serious an issue as it could be but for neatness using the email feature would be rather nice.
Apologies for this as there is bound to be an answer somewhere, but I got square eyes and much confusion looking, and apart from anything else don't know how all the various components (asp pages etc) link together.
The hosting website uses formmail very readily and doesn't need any mail server specified. I contacted the ISP (Scotland on Line) and used what they recommended to no avail!
Any help is greatly received.
Regards
Nick Cole
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Nick Cole
Starting Member
20 Posts |
Posted - 01 March 2007 : 17:19:28
|
Ok, but what is? That email is the one that is used bythe ISP, and hosted in their network. If I use a different email then it wouldn't send anything to me. We don't have an email address on the hosting server. I know that formmail generates one which I could use, but how would that be valid as a point of contact as required in bullet 2 of the help screen? It seems that actually the help confuses matters. Does this imply that actually it isn't the administrator's email at all but the one used on the server, and if so how can that automatically be the one that users can send problems to?
Part of the problem is that we don't know what is needed to go here. If it gives us a range of options for the mail server then we can only use what is there. And of course the system merely tells us that email has been sent, even if it hasn't!
How would we use or edit in something different?
Regards
Nick Cole |
 |
|
Nick Cole
Starting Member
20 Posts |
Posted - 01 March 2007 : 17:23:10
|
Just tried that one, but it is rejected and tells me that it must be the same as the administrator. So that isn't an option! |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 01 March 2007 : 17:27:15
|
You know, things really depend on how your email server is configured. Quite often the email server is configured not to allow relaying, which means you need to use an email address of the same domain as the email server. I don't know whether that is the cause for your problems, but this being a common source of email issues, I thought it deserved a try. Now you decide whether it deserves or not. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 01 March 2007 : 17:28:35
|
quote: Originally posted by Nick Cole
Just tried that one, but it is rejected and tells me that it must be the same as the administrator. So that isn't an option!
What did you try? |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
Nick Cole
Starting Member
20 Posts |
Posted - 01 March 2007 : 17:55:38
|
I tried the email used by the server that generates the IIS Formmail responses. This uses the host smtp service of the webserver. I had to change the admin account email temporarily to get it to accept t, and then I tried various settings of the server name, the one that the server reports, and also the webname which is what is reported as the server name in the server details page of the admin part of the forum. I also tried setting- on error got 0 in the inc-mail.asp as suggested elsewhere and no errors were returned, in both the CDONTS and CDOS options. I gather that the servers available are those that are detected when the forum is running, using admin-config-email.asp? So the ones in the drop down list are those that are available! |
 |
|
Nick Cole
Starting Member
20 Posts |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Nick Cole
Starting Member
20 Posts |
Posted - 01 March 2007 : 19:03:36
|
yes, and I tried those, including what the server calls itself, along with its IUSR email name, the name of the web which is reported in the server info pages. All the variations of the mail servers reported in the mail info.asp page. All the various email and log in names.
At no time does it fail to state that mail hasn't been sent, even after disabling the on error resumes in the mail.asp page. And yet all the formmail continues to work fine!
I was baffled a long time ago! |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 01 March 2007 : 19:07:47
|
Does the host have an asp script to send mail that you could use, just to test it outside the forum? If that worked, you could then check whether the forum code is responsible, which I really find hard to believe. If the host script does not work, then the host needs to find out why. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
Nick Cole
Starting Member
20 Posts |
Posted - 02 March 2007 : 06:17:52
|
Thanks Ruirib.
I will chase them. I'm not suggesting that the code is wrong but obviously understanding what we need to ask and configure is at the heart of it. Setting the forum up is reasonably straightforward and in most cases obvious but the dependency on trying to find something out from an ISP who may not really understand what we are asking (especially if we are not sure what we are supposed to be asking) creates the problem. Having looked at the other threads they are all common. Is there a script we could run that would identify what services are available and what they are called and if they are running? I can get these to work on my local intranet but have no control over an ISP so it is hard. I have been able to run tests but they are using the forum features (as everybody else has done) and with only a very hazy understanding of the code and its syntax it is difficult to establish what we need to do. |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 02 March 2007 : 06:32:53
|
A host is supposed to provide an environment where customers can host web applications. They must be knowledgeable to the point of providing the services needed by the customers's apps. If they can't do that, they shouldn't be hosting, anyway.
I would start by asking them for a script to send email using ASP that works for their environment and see what they can come up with.
Our code just requires the presence of an ASP email component. If it's there, it will use it to try to send email. If this component does not return any errors, the script cannot report them to the users... The component will use the server you specified in the configuration to send the email, so the only real need is for the data you entered to be correct. Now it's quite more common to have servers that require authentication, so in such a scenario, a couple changes to inc_mail.asp are needed too. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
Nick Cole
Starting Member
20 Posts |
Posted - 02 March 2007 : 15:06:53
|
Hi Ruirib
Thanks for your further assistance. I am chasing the ISP. Having done some research their server should be running CDOSYS, and I assume this works as formmail using frontpage components still operates fine. This doesn't need authentication, unless it is built in automatically. I am waiting for my isp to confirm accept list entries, though it may be that they need to give me some authentication independently.
I think the problem can be narrowed down to this part of configuration, perhaps this could be written up so that the topic doesn't need to be so repetitive!
Anyway, thanks again. I'll post an update when it works. |
 |
|
Topic  |
|