Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 16th, 2004, 03:42 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yehuda,
Yes I've already sent emails successfully from this webserver (via a form). In fact, I replicated the working file and adjusted it to accomodate the fields for this apllication/form.

Happygv,
I've requested that the Server Admin check for the SMPT status and he confirms that it is indeed started??

I'm dupped! Please help.
Thanks all!
nancy
 
Old August 16th, 2004, 03:49 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can you send these emails from the same form (does it have a place to inpuit what you wish to send)? If not, what is different between this new email and the previous form? I am assuming the body text of this email is confidential?
 
Old August 16th, 2004, 03:58 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You are right Yehuda, the form fields are different (with different values assigned to them) but the mechanism should be the same, no?

Thx
 
Old August 16th, 2004, 04:18 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

can you try the sample code that yehuda posted in one of his posts here. Try to put that code within a separate .asp file and try browsing it. Set FROM and TO as your email id. See if that helps.

_________________________
- Vijay G
Strive for Perfection
 
Old August 16th, 2004, 04:47 PM
Friend of Wrox
 
Join Date: Aug 2003
Posts: 205
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In theory, yes, it is the same. But there are a host of issues with email. The main is Spam Filtering. If the email address doesn't match the domain or appears to fit a specified SPAM rule, it will be filtered out. If the body contains a message that appears to be spam it will be filtered. Check your spam filter for the email. This is why I was pressing you for the body. If you can, try to put my email as the to address (I don't know about confidentiality) I have pretty tight control on SPAM so I can easily tell if it filtered. Also, as I said, check with your admin on the unsent queue. If the email is dispatched, but SMTP cannot send it for whatevere reason, it will remain in the queue.

Yehuda
 
Old August 17th, 2004, 02:32 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi again,
Ok I found where the mail ends up: in the badmail folder in mailroot.
I've requested the server admin to look into why it is not forwarded to the appropriate recipients, and he is looking into that. However, in reviewing the badmail file, I noticed that all the fields are accounted for with the values entered, EXCEPT for where I have text fields??

Any ideas?

Thanks again
nancy
 
Old August 17th, 2004, 03:48 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok Guys, writing the form text fields is FIXED... <phew>/ Thanks to all for your support.

Nancy
 
Old October 29th, 2004, 08:42 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's been awhile (working on other projects) but...
Everything is now working just fine... my values are written to the email recipients etc. EXCEPT that the ASP page that gives the directions and formatting for the e-mail in question is called get.asp

My problem is that when I click send and the email is created and everything "seems" to be fine, I have a browser instance that stays open ??? You guessed it! It's get.asp
How come?
Obviously this is not what I want because it is a blank browser window. Infact I don't want that window at all???

Any help would greatly be appreciated

Thank you
 
Old October 29th, 2004, 05:35 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Throw this in immediatly after all the code you want to run on the page that is staying open - it will then close.
NOTE: must not be inside ASP script tags

<script language = JavaScript>
  self.close();
</script>

Or of course you could also put a redirect in there

Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
EMail (CDONTS) File Attachment is blank Jorge Classic ASP Components 1 March 11th, 2004 03:54 PM
Email using Frontpage and CDONTS levinho Classic ASP Databases 0 November 17th, 2003 04:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.