I have recently noticied that since moving to mySQL v8.03 that the Forum has NOT been sending any emails, despite getting no error messages through the Forum. (I got the message saying "your email has been sent to..." but the message was not delivered)
I checked all my email settings in admin and they are all correct. I'm using CDOSYS and localhost, no username or password are required.
I contacted my host (netpivotal) and they said that the CDOSYS component is working fine and they set up a testmail.asp page which worked fine using their settings.
After studying the code in functions_send_mail.asp I noticed that this is set to use Port 1 for localhost as follows
**************************************************
'Calculate the port we are sendusing (1=localhost 2=network)
If LCase(strMailServer) = "localhost" OR strMailServer = "
http://127.0.0.1" OR strMailServer = "127.0.0.1" Then
intSendUsing = 1
Else
intSendUsing = 2
End If
**************************************************
The testmail.asp file however uses Port 2 so I changed the code in functions_send_mail.asp to
**************************************************
'Calculate the port we are sendusing (1=localhost 2=network)
If LCase(strMailServer) = "localhost" OR strMailServer = "
http://127.0.0.1" OR strMailServer = "127.0.0.1" Then
intSendUsing =
2 Else
intSendUsing = 2
End If
**************************************************
and the Forum is now sending out emails.
Is this a fault in the forum code or is my hosts CDOSYS set up unusual?