[PHP] Re: MAIL( ) - Send mail using another SMTP

2003-06-21 Thread Verdon Vaillancourt
I think you can do this with an .htaccess file instead of the php.ini file
:)


On 6/21/03 6:29 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 From: Chinmoy Barua [EMAIL PROTECTED]
 Date: Fri, 20 Jun 2003 23:46:06 -0700 (PDT)
 To: [EMAIL PROTECTED]
 Subject: MAIL( ) - Send mail using another SMTP
 
 Hello Everybody,
 
 I don't have sendmail/qmail on my web server where i
 installed PHP. But I want to send mails from web
 server using PHP.
 
 Can anybody tell me, how can i use another SMTP server
 to send mails? I don't like to change php.ini on my
 web server.
 
 Thank You,
 - Chinmoy


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



Re: [PHP] Re: MAIL( ) - Send mail using another SMTP

2003-06-21 Thread Verdon Vaillancourt
Something like this...

Add the following into a .htaccess file for your domain(s)

php_value SMTP  smtp.yourhost.com



On 6/21/03 7:51 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 how do you do this   please explain




[PHP] Re: MAIL( ) - Send mail using another SMTP

2003-06-21 Thread Joseph Szobody
Here is a class that you could use.

http://phpmailer.sourceforge.net/

Joseph

Chinmoy Barua [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 Hello Everybody,
 
 I don't have sendmail/qmail on my web server where i
 installed PHP. But I want to send mails from web
 server using PHP. 
 
 Can anybody tell me, how can i use another SMTP server
 to send mails? I don't like to change php.ini on my
 web server.
 
 Thank You,
 - Chinmoy
 
 
 __
 Do you Yahoo!?
 SBC Yahoo! DSL - Now only $29.95 per month!
 http://sbc.yahoo.com


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