Author |
Topic |
|
gkopp
Starting Member
21 Posts |
Posted - 14 February 2008 : 07:33:41
|
With the help of this forum's members and my web host, I finally see e-pmail going from my forum to my web host mailbox, but they just sit there with the address of the person to whom they are supposed to be sent. Can anyone tell me the code that controls the re-routing to final destination? Thanks! |
Edited by - gkopp on 14 February 2008 07:33:59 |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 14 February 2008 : 07:50:57
|
there is no code that does that, are you sure you are sending them to the correct address ?, email CAN NOT just sit on a server unless that is where it belongs.
what do you mean by "from my forum to my web host mailbox" to me that sounds like you are sending all the email to yourself not to the correct members.
Have you edited any of the files for the forum that deal with registration or emailing ? |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
Podge
Support Moderator
Ireland
3775 Posts |
|
gkopp
Starting Member
21 Posts |
Posted - 14 February 2008 : 20:12:45
|
I already have created a mailbox on my host - greg@indyecho.net. After rewiewing the creation process, I noticed a "Redirect" switch that can be on or off. But this is the e-mail I received from the host after inquiring about it:
"Once you logged into webmail.indyecho.net you can see the forwarding option under "settings" tab. But regarding inc_mail.asp each time the recipients will be different depending on the data filled on "send mail" option. Please modify the code such that it'll email to the recipient address."
So I am befuddled as to how e-mail is supposesed to work via the forum. Were does the routing actually take place? I guess I've assumed it was going to go to greg@indyecho.net, since this is set up as the administrator e-mail address in the e-mail configuration of the forum, then be redirected. What IS the path that an e-mail is supposed to take when one member sends it to another? The e-mail is currently going to my mailbox on the webhost. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 15 February 2008 : 01:47:33
|
the routing takes place at whatever mail server you assign the forum to use, it then uses an account on that server as the sender to send out emails. one one person sends an email to another it should NEVER go to your mailbox it should go directly to the recipient |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
gkopp
Starting Member
21 Posts |
|
gkopp
Starting Member
21 Posts |
Posted - 20 February 2008 : 09:24:29
|
Follow Up
Podge/HuwR: Anything you see wrong with the code I posted?
This is the response I have gotten from my web host regarding authentication:
"We have tested sending mails from your forum and there is an issue with sending mails to external domains as authentication is not working correctly eventhough you have given the username/password in inc_mail.asp. On checking the mailserver logs "no such user here error is obtained"; which implies that authentication is not working correctly using CDOSYS function implemented within your forum.
We have tested the CDOSYS functionality on the server using the same user credentials given in the inc_mail.asp. A test mail send using the above url was delivered successfully.
We would recommend contacting the program vendor to find out why smtp authentication is not working with the CDOSYS plugin in your application."
Also, is inc_mail.asp the ONLY file that needs to be edited?
Thanks.
|
Edited by - gkopp on 20 February 2008 09:34:43 |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 20 February 2008 : 10:35:35
|
Not sure why CDOSYS isn't working as everything looks right. Did they send you the code they used so we can compare it and see what they are doing differently?
Also, inc_mail.asp is the only place this particular information is used, so its the only place that needs to be edited. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 20 February 2008 : 10:43:38
|
did you uncomment the authentication lines as by default they are commented out using a '
The code works fine for everyone else, so I doubt very much that it is the code that is wrong (it has not changed in a very long time), so it sounds more like a server setting that is different, maybe you could ask your host for a copy of the cdosys code that worked for them so we can see what the difference is. |
|
|
gkopp
Starting Member
21 Posts |
Posted - 20 February 2008 : 13:37:02
|
This is the "mail.asp" file they refer to:
<!-- METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000 Library" --> <% Set cdoConfig = CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(cdoSendUsingMethod) = cdoSendUsingPort .Item(cdoSMTPServer) = "mail.indyecho.net" .Item(cdoSMTPAuthenticate) = 1 .Item(cdoSendUsername) = "<user@indyecho.net>" .Item(cdoSendPassword) = "<password>" .Update End With Set cdoMessage = CreateObject("CDO.Message") With cdoMessage Set .Configuration = cdoConfig .From = "greg@indyecho.net" .To = "wecares2@gmail.com" .Subject = "Sample CDO Message" .TextBody = "This is a test for CDO.message" .Send End With Set cdoMessage = Nothing Set cdoConfig = Nothing %>
Apparently works if one enters the exact address here. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 20 February 2008 : 13:57:20
|
you will need to change "username" and "password" to your mail login details |
|
|
gkopp
Starting Member
21 Posts |
Posted - 21 February 2008 : 20:31:07
|
IT WORKS! It actually works! It took a couple of hours from time sent to arrival, but I finally got an e-mail through! Thanks a million, HuwR! Thanks to Podge and Anon as well for all your help throughout my pestering posts and e-mails! (Next step: stopping the spam.) |
|
|
AnonJr
Moderator
United States
5768 Posts |
|
|
Topic |
|