IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

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 Dev Shed Forums Sponsor:
  #1  
Old May 26th, 2009, 09:52 PM
dark_hatchling dark_hatchling is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 9 dark_hatchling User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 21 m 13 sec
Reputation Power: 0
IIS SMTP help

ok im making a website for this guy who really wants it and he wants a form submission page where it will email him the form. right now im running everything off a local server to test while i work on it, the problem is the emails are getting "stuck" in the queue folder, though i dont think they are getting stuck per say..clearly something is not configured properly. i have WAMP and IIS local servers running and when i attempt to send the email i get no errors or anything, they just dont go anywhere. can someone give me some suggestions or insight to the problem? thanks in advanced.

Reply With Quote
  #2  
Old May 26th, 2009, 11:41 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 15th Plane (12000 - 12499 posts)
 
Join Date: Jun 2003
Posts: 12,211 Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 3 Days 3 h 32 m 41 sec
Reputation Power: 1969
wamp and iis will conflict with each other. Likewise if you have two smtp server on the same box something won't work.

Have you set a mail from the server to test your basic smtp setup? There are many, many reasons email may not work.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old May 27th, 2009, 01:15 AM
dark_hatchling dark_hatchling is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 9 dark_hatchling User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 21 m 13 sec
Reputation Power: 0
not to sound like a tard..but what would i use to send a test email? im pretty lost here.. lol

Reply With Quote
  #4  
Old May 27th, 2009, 01:43 AM
dark_hatchling dark_hatchling is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 9 dark_hatchling User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 21 m 13 sec
Reputation Power: 0
ive been reading some things that say some ISPs block port 25 or need some type of authentication

"If you get a response such as "220 mx.google.com ..." then your port 25 is not blocked. But if you get "Could not open a connection to host on port 25 : connection failed" or similar, then your port 25 is blocked and you won't be able to do anything about it (except change ISP's)."

my ISP is yahoo dsl (yes..i know..fail.). think that might have anything to do with it? anyone know about this or have yahoo as their ISP and can fill me in on something?

Reply With Quote
  #5  
Old May 27th, 2009, 02:47 PM
dark_hatchling dark_hatchling is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 9 dark_hatchling User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 21 m 13 sec
Reputation Power: 0
ok, lets just scratch all that...
the guy im making the website for just wants to have a page where users can fill out a Work Request form and then he wants it to email him the form, what is the easiest way to do this?

Reply With Quote
  #6  
Old May 27th, 2009, 03:51 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 15th Plane (12000 - 12499 posts)
 
Join Date: Jun 2003
Posts: 12,211 Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 3 Days 3 h 32 m 41 sec
Reputation Power: 1969
Quote:
Originally Posted by dark_hatchling
ok, lets just scratch all that...
the guy im making the website for just wants to have a page where users can fill out a Work Request form and then he wants it to email him the form, what is the easiest way to do this?
You're back to your original question. The usual method is to have your website code send a smtp mail message that your code created. You need to have a functional smtp server available. You can use IIS SMTP or probably an external SMTP server. If your isp blocks port 25 then you'll probably need to use their smtp server, and your code will most likely need to provide smtp authentication credentials.

You can find sample code and tutorials for most dynamic web technologies (asp, asp.NET, php, java) with some google searching. www.w3schools.com is one decent starting place.

You can use an email client running on the IIS server computer to send a test message with your IIS smtp server, by the way. Or you can simply manually send a message using telnet, google will help you if you want to try that method of testing.

Reply With Quote
  #7  
Old May 28th, 2009, 03:07 AM
dark_hatchling dark_hatchling is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 9 dark_hatchling User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 21 m 13 sec
Reputation Power: 0
well after some research and testing, im pretty sure my ISP blocks port 25, and so Ill need to use their smtp, but it requires authentication, which from what i understand..the php mail() function does not work if it needs to be authenticated. so what are my options? ive been reading that PEAR is an alternative, anything else? im still not 100% sure how to install PEAR properly

Reply With Quote
  #8  
Old May 28th, 2009, 02:22 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 15th Plane (12000 - 12499 posts)
 
Join Date: Jun 2003
Posts: 12,211 Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level)Doug G User rank is General 15th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 3 Days 3 h 32 m 41 sec
Reputation Power: 1969
If you're using php I think the phpMailer app will support smtp auth. I don't know where the docs arre, but the download is at http://sourceforge.net/project/showfiles.php?group_id=26031&package_id=252700

There are probably a lot of other alternatives too.

Reply With Quote
  #9  
Old May 28th, 2009, 03:21 PM
dark_hatchling dark_hatchling is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 9 dark_hatchling User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 21 m 13 sec
Reputation Power: 0
ok, well i got it to work using PEAR ..finally. i will look into the PHP mailer though and check it out. thanks for all the help, Doug.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > IIS SMTP help


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




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

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




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
Stay green...Green IT