Help...cant figure out my error with ASP problem...

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
RenaissanceHero
-


Joined: 22 Feb 2003
Posts: 9

PostPosted: Sat Mar 08, 2003 4:05 am    Post subject: Help...cant figure out my error with ASP problem... Reply with quote

I know there are some pretty smart peeps out there and I am a NOOB :oops: , so can someone help me with my formmail.asp problem.

I installed the ASP components, and they work fine. I tested them with a simple clock code.

I am testing a formmail.asp script and when I submit, it says that the following info has been sent...blah blah....but nothing in my e-mail....

Here is what I have done. I d/l and installed the script from [url]http://www.brainjar.com/asp/formmail/[/url] the instructions are awesome and followed them as best I could. I downloaded JMail and installed that.

Here is the information in my Formmail.asp script that they want you to change and how it looks as i have changed it (I have hidden my ip):

referers = Array("localhost","xx.xx.xxx.xx")
mailComp = "jmail"
smtpServer = "mail.shawmail.ca"
fromAddr = "Frank@thekonigs.net"

this is the script i put on the test page:

<form action="/scripts/formmail.asp" method="post">
<p>
<input name="_recipients" type="hidden" value="Frank@thekonigs.net" />
<input name="_requiredFields" type="hidden"
value="Name,Customer ID,Email,Comments" />
Name: <input name="Name" type="text" /><br />
Customer ID: <input name="Customer ID" type="text" /><br />
Email Address: <input name="Email" type="text" /><br />
Comments:<br />
<textarea name="Comments" rows=5 cols=50></textarea>
<input type="submit" value="Submit" />
<input type="reset" value="Clear" />
</p>
</form>

I want to test it locally b4 I upload it. Can anyone tell me why the e-mail is not getting to me???? The scripts works awesome, I just cant get the e-mail....as strong bad would say....where's the e-mail????
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Mar 10, 2003 1:41 am    Post subject: Re: Help...cant figure out my error with ASP problem... Reply with quote

Since the problem seems to be closely related to the script you use, we recommend asking the people that wrote it for support. They can help you better than us.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Dave
-


Joined: 11 Feb 2003
Posts: 184
Location: United Kingdom

PostPosted: Mon Mar 10, 2003 4:44 pm    Post subject: Reply with quote

Does "mail.shawmail.ca" require login info for use?
_________________
Any information contained herein is provided in "as is" condition without any guarantee for its accuracy, contains no warrantees - express or implied - and confers no rights.
X1 1.1.4: http://www.aprelium.com/news/abwsx1u1.html
Back to top View user's profile Send private message Visit poster's website
RenaissanceHero
-


Joined: 22 Feb 2003
Posts: 9

PostPosted: Thu Mar 13, 2003 2:05 am    Post subject: shawmail Reply with quote

yes it does.....how do I work that in to the script....

Would I be better off using a CGI script for this????

Frank
Back to top View user's profile Send private message
Dave
-


Joined: 11 Feb 2003
Posts: 184
Location: United Kingdom

PostPosted: Thu Mar 13, 2003 5:36 pm    Post subject: Reply with quote

OK, try this code:

Dim objCDO
Set objCDO = Server.CreateObject("CDO.Message")

body = " Test EMail Message"
objCDO.To = "YOUR EMAIL"
objCDO.From = Request.Form("SenderMail")
objCDO.Subject = "Test EMail"
objCDo.TextBody = body
objCDO.Send

I use that code and it works fine for me.
_________________
Any information contained herein is provided in "as is" condition without any guarantee for its accuracy, contains no warrantees - express or implied - and confers no rights.
X1 1.1.4: http://www.aprelium.com/news/abwsx1u1.html
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group