Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 sending email via PHP mail() function
Google
Post new topic Reply to topic
Author Message
phparmy
 
 


Joined: 25 Apr 2006
Posts: 3

PostPosted: Sat Apr 29, 2006 2:47 pm Reply with quoteBack to top

what i have to do sending email from localhost via PHP mail()
i setup apache2triad then what i have to do
thanks
View user's profileSend private message
dawg
support
support


Joined: 11 Apr 2004
Posts: 180

PostPosted: Sat Apr 29, 2006 6:38 pm Reply with quoteBack to top

Edit the SMTP section of the php.ini file

Code:


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

; For Win32 only.
sendmail_from =user@domain.com

View user's profileSend private message
phparmy
 
 


Joined: 25 Apr 2006
Posts: 3

PostPosted: Mon May 01, 2006 6:57 am Reply with quoteBack to top

how can i avoid it mails to not go to spam
View user's profileSend private message
dawg
support
support


Joined: 11 Apr 2004
Posts: 180

PostPosted: Mon May 01, 2006 5:14 pm Reply with quoteBack to top

Get a business class Connection with a Static Ip and a PTR record that points to mail.domain.com.
View user's profileSend private message
taylor
 
 


Joined: 13 May 2006
Posts: 1

PostPosted: Sun May 14, 2006 12:46 am Reply with quoteBack to top

dawg wrote:
Edit the SMTP section of the php.ini file

Code:


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

; For Win32 only.
sendmail_from =user@domain.com

where is the php.ini
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


Joined: 29 Dec 2004
Posts: 783
Location: S.E. Kansas

PostPosted: Sun May 14, 2006 1:16 pm Reply with quoteBack to top

Your os root folder ( c:\windows )

Friendly Reminder:
Remember to use the search feature in your OS for files (and forums for that matter too)
View user's profileSend private messageYahoo MessengerICQ Number
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT