PHP: 4.3.10 Help Please

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP: 4.3.10 Help Please

Postby rockyuk » 01. March 2005 04:51

Hi everyone,
Basically i am trying to send an email from my mailinglist software and just wanted to know if by default you get sendmail with PHP: 4.3.10 if not how do i get it and where or is it a case of enabling it. Basically the program i have installed runs on sendmail function only.

Thanks

Rockyuk
rockyuk
 
Posts: 11
Joined: 09. February 2005 21:46

Postby Maller » 01. March 2005 10:14

I think you have the terms php and sendmail screwed up a bit :)
Sendmail is a stand alone program for linux/unix, there is a version for windows but it´s not free.
php however have the mail() function, all you need to do is edit these lines in php.ini
(reqires apache restart)

[mail function]
; For Win32 only.
SMTP = smtp.example.com
smtp_port = 25
sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
User avatar
Maller
 
Posts: 49
Joined: 06. March 2004 14:47

Postby rockyuk » 01. March 2005 13:10

Hi Maller,
I have added the code that you gave me thanks but i still can't seem to get it to send mail through php.

Rockyuk :(
rockyuk
 
Posts: 11
Joined: 09. February 2005 21:46

Postby Maller » 02. March 2005 22:13

when you say added you mean edit right ? dont add it to php.ini just find it in php.ini and edit thoose lines.
Also please paste the script you using to send the mail, maybe the error is in that
User avatar
Maller
 
Posts: 49
Joined: 06. March 2004 14:47

Postby Tony_P » 09. March 2005 01:06

Mallor,

Can I take it by that Penguin, your a Linux Fanatic, I only saw that used with Linux, I would love to learn the principles of it, But to my understanding it is a whole new language, and Heck I have a hard enough time with scripts on Win :roll:
Tony_P
Tony_P
 
Posts: 15
Joined: 02. February 2005 15:29

Postby prathapml » 12. March 2005 00:24

Hello rockyuk,
It seems that some programs have sendmail hard-coded into them. They will necessarily look for "/usr/bin/sendmail" even on win32.

XAMPP already has the solution for this. Please see
Code: Select all
\installed-xampp\sendmail\readme.html


Hoping this helps....
If you have any hitches while using this, do post them.
prathapml
 
Posts: 87
Joined: 11. March 2005 23:03


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 123 guests