Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 popmail.asp issues
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

JohnC
Junior Member

215 Posts

Posted - 13 March 2006 :  19:02:14  Show Profile
Can someone please help possibly point out a mistake in the following code:

<%
strOriginalRecipientEmail = rs("M_EMAIL")
strRecipientsName = "Some Forums"
strRecipients = "email@someforums.com"
strFrom = Request.Form("YEmail")
strFromName = Request.Form("YName")
strSubject = "Email by " & Request.Form("YName") & " to " & strRName
strMessage = "Email from " & strRecipientsName & vbNewline & vbNewline
strMessage = strMessage & "From: " & Request.Form("YName") & " (" & Request.Form("YEmail") & ")" & vbNewline & vbNewline
strMessage = strMessage & "To: " & strRName & " (" & strOriginalRecipientEmail & ")" & vbNewline & vbNewline
strMessage = strMessage & Request.Form("Msg") & vbNewline & vbNewline
strMessage = strMessage & Request.ServerVariables("remote_addr") & " " & Now() & " Server Time" & vbNewline & vbNewline
%>
The code uses inc_mail.asp as an include. It is not sending email and not producing an error. It was working at some point but quit upon a move to a new server. All other email functions still work fine.

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 13 March 2006 :  19:06:36  Show Profile
What component are you using to send the email?

Support Snitz Forums
Go to Top of Page

JohnC
Junior Member

215 Posts

Posted - 13 March 2006 :  21:48:13  Show Profile
inc_mail.asp, and everything associated with my inc_mail (subscriptions, registration, email member, etc) is working just fine.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 14 March 2006 :  01:25:13  Show Profile
Ok. That didn't answer my question. Let me ask another: what email component do you have selected in your Email Configuration in your Admin Options?

Is this forum code that you modified? Can you post a link to a txt version of your file so we can take a look at the whole code?

Support Snitz Forums
Go to Top of Page

JohnC
Junior Member

215 Posts

Posted - 14 March 2006 :  13:43:56  Show Profile
Sorry, I am using CDOSYS. That is all I have available to me. I will try to figure out a way to get you the code. In the meantime, I take it you don't see any errors in the code that I posted?
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 14 March 2006 :  15:45:38  Show Profile
No I don't see any problems with your code. So I am looking at what other changes you made to the code on the page.

If you use a unmodified version of the pop_mail.asp file, does it work?
If it does, then we can narrow it down specifically to the changes you made to it.

Support Snitz Forums
Go to Top of Page

JohnC
Junior Member

215 Posts

Posted - 15 March 2006 :  22:32:04  Show Profile
I found my problem on this. Thanks for your help, Davio! You can probably delete this topic as I don't see it offering any help to anyone else.
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 16 March 2006 :  00:29:46  Show Profile
Well, you could at least let me know what the problem was, instead of leaving me wondering what was wrong.

Support Snitz Forums
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07