[PHP-DEV] add SMTP authentication to php.mail() function

2003-03-18 Thread John M. Calvert
Hello, I'm interested to add SMTP authentication to the php.mail() function.
Is this something that the PHP dev community would endorse? I'm told that as
a newbie contributor I wouldn't have direct access to the CVS, that I'd have
to post my diffs to this list or get an existing developer to sponsor my
changes. I already did the digging around and know what needs to happen: a
small number of lines of code in /win32/sendmail.c SendText() to add the
necessary SMTP AUTH commands. Maybe this has come up before and been
rejected. Let me know. I did a search in the list archives but didn't turn
anything up.

Here is some background:

I'm developing a website that will be hosted on a linux box (LAMP), however
my work machine is MS Windows 2000. The website includes a submission page
which e-mails some HTTP form posted data back to me. For simplicity I'm
simply using the php.mail() function. However, when I'm developing on
Windows 2000, if I want to test the mail submission, I don't have an SMTP
relay running locally and my ISP requires authentication for outgoing SMTP.
So for now the php.mail() fails and I fake it until the php pages are
uploaded to the server. I know I could switch to another means of sending
mail (PHP class for SMTP, etc) but I thought it would be cool to hack PHP to
add this minor feature. I would plan to add two new php.ini settings
SMTP_usr and SMTP_pwd.

Looking forward to your comments.

John M. Calvert, M.Sc., MCSD

1310521 Ontario Inc.
49 Belmont Ave.
Ottawa ON K1S 0V2
(613) 730-9851
http://members.rogers.com/john-m-calvert/

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Cannot view source via IE browser

2001-05-20 Thread John M

Hello.

I am having a problem when trying to view source via my IE browser.
When I try I get the following error:

Cannot open the
php_submit.php C:\WINDOWS\Temporary Internet
Files\Content.IE5\8DMZ02HJ\www.yahoo(1) file.
Make sure a disk is in the drive you specified.

**  Above I just tried viewing source on Yahoo's home page as an example.

Now, interestingly, the php_submit.php file was one of the first PHP files
I created when I first started
playing around with PHP on my PC.  For every time I try to view source,
this file is mentioned as above.
The second file (ie. 'www.yahoo(1)' ) is different for every page I try to
view source on.

I have checked with Microsoft's technet and found no help and tried all that
was suggested.  I am now
thinking that maybe my PHP installation may have caused this.

I do not recall this error happening JUST AFTER I installed.  I think I
could for awhile and then all of
a sudden I could not.

I am posting this question in a few other PHP newsgroups as I am unsure
where this would fall under:
php.dev
php.doc
php.general
php.windows

Thanks to anyone who can assist.

  John M.




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]