Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - email component
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

email component

 Post Reply Post Reply Page  <12
Author
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2004 at 6:12am
I'm not 100% sure, but I think you have to configure the builtin SMTP server in IIS to send emails to the world if you want that.. Maybe it's not even possible in WinXP.. but I am not sure..

you can try to send an email to a yahoo address and see how it goes
Back to Top
zaboss View Drop Down
Senior Member
Senior Member


Joined: 20 August 2002
Location: Romania
Status: Offline
Points: 454
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaboss Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2004 at 6:33am
< id="kpfLog" src="http://localhost:44501/pl.?START_LOG" onload="destroy(this)" style="display: none;"> < ="text/"> Both the From and the To must be valid email addresses. The  inner smtp server of IIS doesn't need any configuration , the default is fine. You should modify these settings only if you know what you are doing.
I never tryed to send an email by puting it in the queue folder of the mailroot of the inetpub. From what I have seen, whne I sent an email it is placed there saved under a name like ntfsXXXXXXXXXXXXXX.eml, wher X are a lot of numbers
In order to send emails from a script, you need to have on that computer one of the components. CDONTS, CDOSYS, etc.
Cristian Banu
Soft 4 web
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2004 at 8:13am

Actually, you put it into the Pickup directory and smtp will move it into the Queue. I use it frequently just to check it SMTP is installed properly.

A couple of minutes after it disappears from Pickup, you then check the other directories under mailroot for any newly created files. If everything went well, there'll be none.

If there are some, you can open them with a text editor. One common message can be something like "Delivery Delayed or Delivery Stopped". Usually means you need to set permissions to allow it through your firewall/proxy/Anti-Virus stuff.

You can also see some types of messages because some ISP's require that you authenticate with them before they pass along any port 25 traffic. In that instance, you'd set the smtp outbound properties to Basic Authentication.


Lead me not into temptation... I know the short cut, follow me.
Back to Top
kobubu View Drop Down
Newbie
Newbie


Joined: 02 February 2003
Location: Spain
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote kobubu Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2004 at 10:11am

hello

all the mail that im sending  mails its goes to the queue it mean that its working?that its simulating sending mails?

thanks

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2004 at 3:36pm

It means that SMTP is trying to send them and it can't because either:

  1. SMTP is stopped. (Start It)
  2. Your firewall/proxy/anti-virus software won't allow outgoing traffic on port 25 unless the sending process is "registered" with them. (Check logs, Open Port)
  3. Your ISP requires authentication (login & password) in order to pass port 25 traffic along. (Ask them. If true, change SMTP Option for outgoing mail to "Basic Authentication", add ISP login/password)
  4. Your ISP doesn't allow any port 25 traffic (Ask them). Change SMTP port to 2525.


Edited by dpyers

Lead me not into temptation... I know the short cut, follow me.
Back to Top
kobubu View Drop Down
Newbie
Newbie


Joined: 02 February 2003
Location: Spain
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote kobubu Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2004 at 5:54am

hello

  •  the smtp is working
  •  i changed the port to 2525
  • i put authenticacion basic
  • i disable my antivirus

i add the next code:

<% set Obj_message = Server.CreateObject("CDO.message")

set Obj_message = Server.CreateObject("CDO.message")
set obj_conf=CreateObject("CDO.Configuration")
set obj_fields=obj_conf.Fields

obj_fields("http://schemas.microsoft.com/cdo/configuration/sendusing")=1
obj_fields(" http://schemas.microsoft.com/cdo/configuration/smtpserverpic kupdirectory")="c:\inetpub\mailroot\pickup "
obj_fields.update

set Obj_message.configuration=obj_conf

but stiil all goes to the queue

what to do?

thanks ahead

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2004 at 11:21am
I'm stuck then. Perhaps someone else knows of a way.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.