Are you dropping the message in the right directory?  As an example here
is a simple stream text function


function SendEmailBasic(unique) {
  var objFSO = Server.CreateObject("Scripting.FileSystemObject");
  var stream =
objFSO.CreateTextFile("c:\\inetpub\\mailroot\\Pickup\\msg-" +
Session("custid") + "-" + unique + ".txt", true, false);
  return stream;
}

Yours,

Julian Stone

-----Original Message-----
From: John Q Jr. [mailto:[EMAIL PROTECTED]] 
Sent: 25 September 2002 20:39 pm
To: Exchange Discussions
Subject: SMTP will not send


List,



Can someone please point me in the right direction here? I have an IIS
system (www11-sfb) that I want to send mail.

When I telnet to the port it works fine and sends mail. This is done
from the local machine. See logs below (Telnet from port) for details.

But when I use a php script to do it from a web page the mail does not
send. It initiates the initial commands but then does not establish the
outbound connection. See log below (From PHP script) for details.

Can anyone provide me with where to look for the issue?



- John Q



#Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2002-09-25 19:18:28
#Fields: date time c-ip cs-username s-sitename s-computername s-ip
s-port cs-method sc-win32-status sc-bytes time-taken cs-host cs(Cookie)
cs(Referer) (Telnet from port) 2002-09-25 19:18:28 127.0.0.1 - SMTPSVC1
WWW11-SFB 127.0.0.1 0 HELO 0 50 15 - - - 2002-09-25 19:18:36 127.0.0.1 -
SMTPSVC1 WWW11-SFB 127.0.0.1 0 MAIL 0 37 15 - - - 2002-09-25 19:18:44
127.0.0.1 - SMTPSVC1 WWW11-SFB 127.0.0.1 0 RCPT 0 0 0 - - - 2002-09-25
19:18:44 127.0.0.1 - SMTPSVC1 WWW11-SFB 127.0.0.1 0 RCPT 0 57 0 - - -
2002-09-25 19:18:48 127.0.0.1 - SMTPSVC1 WWW11-SFB 127.0.0.1 0 c  0 32 0
- - - 2002-09-25 19:18:56 127.0.0.1 - SMTPSVC1 WWW11-SFB 127.0.0.1 0
RCPT 0 31 0 - - - 2002-09-25 19:19:09 127.0.0.1 - SMTPSVC1 WWW11-SFB
127.0.0.1 0 DATA 0 139 11469 - - - 2002-09-25 19:19:09 -
OutboundConnectionResponse SMTPSVC1 WWW11-SFB - 25 - 0 55 0 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionCommand SMTPSVC1 WWW11-SFB - 25 EHLO 0 4 0 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionResponse SMTPSVC1 WWW11-SFB - 25 - 0 38 0 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionCommand SMTPSVC1 WWW11-SFB - 25 HELO 0 4 0 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionResponse SMTPSVC1 WWW11-SFB - 25 - 0 86 0 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionCommand SMTPSVC1 WWW11-SFB - 25 MAIL 0 4 0 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionResponse SMTPSVC1 WWW11-SFB - 25 - 0 39 0 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionCommand SMTPSVC1 WWW11-SFB - 25 RCPT 0 4 0 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionResponse SMTPSVC1 WWW11-SFB - 25 - 0 48 16 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionCommand SMTPSVC1 WWW11-SFB - 25 DATA 0 4 16 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionResponse SMTPSVC1 WWW11-SFB - 25 - 0 29 16 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionResponse SMTPSVC1 WWW11-SFB - 25 - 0 33 16 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionCommand SMTPSVC1 WWW11-SFB - 25 QUIT 0 4 16 - - -
2002-09-25 19:19:09 mailfilter01-ens.phx1m.domain.com
OutboundConnectionResponse SMTPSVC1 WWW11-SFB - 25 - 0 22 16 - - - (From
PHP script)

2002-09-25 19:23:41 127.0.0.1 www11-sfb SMTPSVC1 WWW11-SFB 127.0.0.1 0
HELO 0 50 0 - - - 2002-09-25 19:23:41 127.0.0.1 www11-sfb SMTPSVC1
WWW11-SFB 127.0.0.1 0 MAIL 0 46 0 - - - 2002-09-25 19:23:41 127.0.0.1
www11-sfb SMTPSVC1 WWW11-SFB 127.0.0.1 0 RCPT 0 34 0 - - - 2002-09-25
19:23:41 127.0.0.1 www11-sfb SMTPSVC1 WWW11-SFB 127.0.0.1 0 DATA 0 139
63 - - - 2002-09-25 19:23:41 127.0.0.1 www11-sfb SMTPSVC1 WWW11-SFB
127.0.0.1 0 QUIT 63 75 0 - - -


_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

Reply via email to