#1  
Old 11th February 2006, 20:29
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ColdDoT
Default php sendmail

Hallo i have only experiance on windows so i dunno how to set up postfix to work with php

so how do i do that and my smtp server needs autencation.

so who can help me out here

greets colddot
__________________
2B or not 2B (a pro)
Reply With Quote
Sponsored Links
  #2  
Old 11th February 2006, 22:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,565
Thanks: 791
Thanked 4,979 Times in 3,900 Posts
Default

You dont have to configure PHP at all to send emails trough the local MTA (postfix or sendmail) on a Linux server.

Please explain the problem you experience a bit more. Can you send emails with the postfix daemon on your server when you use a normal email client like outlook?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th February 2006, 10:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

You can simply use PHP's mail() function. It should work without problems.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 12th February 2006, 13:17
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ColdDoT
Default

That i know but you must set in the php ini file how you send you mail now it is set on the windows localhost and smtp port 25

it works only takes to send a mail 5 min is that not to much ?
__________________
2B or not 2B (a pro)
Reply With Quote
  #5  
Old 12th February 2006, 15:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by ColdDoT
That i know but you must set in the php ini file how you send you mail now it is set on the windows localhost and smtp port 25
The default php.ini settings should work for sending mails without problems. Please don't change them!
For me the php.ini settings are as follows:

Code:
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 12th February 2006, 18:32
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ColdDoT
Default

ok thx
but what is then my from e mail addres or is that the e mail what i give whit the mail funtion from php
__________________
2B or not 2B (a pro)
Reply With Quote
  #7  
Old 12th February 2006, 21:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

Quote:
Originally Posted by ColdDoT
but what is then my from e mail addres or is that the e mail what i give whit the mail funtion from php
You can set the from address in the additional headers. Have a look here: http://de.php.net/manual/en/function.mail.php

If you don't set it, then it will be like this: <apache_user>@<hostname>, e.g. wwwrun@server1.example.com.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unknown filter was not added: PHP ddelbia Installation/Configuration 31 7th October 2008 20:30
[error] an unkown filter was not added: PHP Arien Installation/Configuration 12 7th October 2006 14:17
Can not access website after uploading brianetilley Installation/Configuration 21 11th January 2006 19:43
Sharedip Ivan Installation/Configuration 3 7th December 2005 15:36
Recompile PHP after Sendmail reconfigured ? Roman Installation/Configuration 16 31st August 2005 23:20


All times are GMT +2. The time now is 10:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.