Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 22nd, 2003, 02:15 AM
Josh328 Josh328 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: LA
Posts: 6 Josh328 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
scripting question (permissions?)

I'm using an ASP script that sends email via a web browser...i've used the exact same code on other servers and it works just fine, but it will not send from my IIS server! I've played with the permissions, it all seems right! Any suggestions?!?!?!?!

Thanks,

Reply With Quote
  #2  
Old July 22nd, 2003, 09:15 AM
dcarva's Avatar
dcarva dcarva is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: USA
Posts: 633 dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 9 h 18 m 20 sec
Reputation Power: 6
You have to make sure that SMTP is setup correctly, and this varies with every site. So, I couldn't tell you exactly what settings you need. One thing you can do, is send an email, and go to the c:\inetpub\mailroot folder. Look under those folders and see where your email is stored. If it's going to badmail folder, for example, you might be sending to an invalid email address. Also make sure that your "FROM" address is a valid email in your system. Hope this helps.

Reply With Quote
  #3  
Old July 22nd, 2003, 03:25 PM
Josh328 Josh328 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: LA
Posts: 6 Josh328 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I didn't think an ASP script required SMTP to be active to send an email. If you do it with HTML it doesn't have to be. I'm sure it is a valid email address as well...

Thanks,

Reply With Quote
  #4  
Old July 22nd, 2003, 03:40 PM
dcarva's Avatar
dcarva dcarva is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: USA
Posts: 633 dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 9 h 18 m 20 sec
Reputation Power: 6
Are you speaking about sending an email via a form or are you speaking of having a user click on a url, that has an email address, and send the email after outlook opens...?

If you want a user to fill out a form and have that form be submitted to you (or someone else) via email, you need a mechanism to send the email itself. SMTP does exactly that. HTML does nothing but display text, graphics, links, etc. Typically people use CDONTS objects with ASP to send mail. HTML itself can't send an email. When you click on a url that is an email address, it will launch outlook (or whatever your mail client is) to send the email.

Hope this helps.

Last edited by dcarva : July 22nd, 2003 at 03:54 PM.

Reply With Quote
  #5  
Old July 22nd, 2003, 03:54 PM
Josh328 Josh328 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: LA
Posts: 6 Josh328 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
here i'll just show you the code i'm using... it won't let me paste the code... go to http://jshayden.dynu.com/list/test.txt to see the code...

i have it running at http://jshayden.dynu.com/list/test.asp

from what i understand this does not require any SMTP server.

Thanks for your help man...

Reply With Quote
  #6  
Old July 22nd, 2003, 04:03 PM
dcarva's Avatar
dcarva dcarva is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: USA
Posts: 633 dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 9 h 18 m 20 sec
Reputation Power: 6
Your example uses CDONTS. CDONTS interfaces with SMTP. CDONTS is just an object that relies on SMTP as a transport. The HTML/ASP itself won't do anything. You may already have SMTP setup. By the way, your FROM address should be a valid email address. Sometimes it can cause problems if it isn't. (example: objMail.From = "JSHayden@email.com")

Danny

Reply With Quote
  #7  
Old July 22nd, 2003, 04:06 PM
Josh328 Josh328 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: LA
Posts: 6 Josh328 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
wow...thanks alot man...can i use the smtp within IIS? when i try to start it IIS crashes...

Reply With Quote
  #8  
Old July 22nd, 2003, 04:10 PM
dcarva's Avatar
dcarva dcarva is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: USA
Posts: 633 dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 9 h 18 m 20 sec
Reputation Power: 6
Yes. You can use SMTP within IIS. Here's one page I found that explains it with SMTP. (see bottom)

<http://support.microsoft.com/defaul...&NoWebContent=1>

What is the error IIS is giving you?

Reply With Quote
  #9  
Old July 22nd, 2003, 04:16 PM
Josh328 Josh328 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: LA
Posts: 6 Josh328 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
i'm working on that error...do you have AIM?

Reply With Quote
  #10  
Old July 22nd, 2003, 04:21 PM
Josh328 Josh328 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: LA
Posts: 6 Josh328 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
the service did not respond to the start or control request in a timely fashion. Check the Windows Event Viewer for details.

Reply With Quote
  #11  
Old July 22nd, 2003, 04:22 PM
dcarva's Avatar
dcarva dcarva is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: USA
Posts: 633 dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 9 h 18 m 20 sec
Reputation Power: 6
No sorry. I don't use it at work. You can email me at dcarvajal@houston.rr.com. I am not an IIS expert though. But I'll help.

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > scripting question (permissions?)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway