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
 php mail smtp setting confusion
Google
Post new topic Reply to topic
Author Message
shimbles
 
 


Joined: 16 Jul 2006
Posts: 7

PostPosted: Mon Aug 07, 2006 8:16 pm Reply with quoteBack to top

hello sorry for beeing thick but this is complicated
apache triad is set up working im creating a page with dw to upoad to my webspace
i would like to use the mail function if i change my smtp settings locally how then does this affect the webspace im trying to send myself an email at a hotmail address from a cetain page on the site i c ant make it work any ideas where i should begin many thanks Question
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


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

PostPosted: Wed Aug 09, 2006 2:45 pm Reply with quoteBack to top

If you edit your php.ini located in your windows folder you can change the default smtp host.

Look for section [mail function]
View user's profileSend private messageYahoo MessengerICQ Number
shimbles
 
 


Joined: 16 Jul 2006
Posts: 7

PostPosted: Fri Aug 11, 2006 10:30 am Reply with quoteBack to top

ive changed the settings in the ini file to my smtp server my isp is in france but mysite is hosted in the uk. how does changing the php locally affect the isp settings do ineed to send a page to my website with the smtp settings for the config to take affect?
View user's profileSend private message
Joshua Meadows (DemoRic)
support
support


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

PostPosted: Fri Aug 11, 2006 6:54 pm Reply with quoteBack to top

Editing the php.ini file will ONLY affect the server with the php.ini file.
You can use it to point to a mail server that isn't local.

Scripts located on a remote server will default to using the mail host that is specifed in the php.ini that is configured on that server.
View user's profileSend private messageYahoo MessengerICQ Number
cigraphics
 
 


Joined: 21 Aug 2005
Posts: 148
Location: Romania, Pitesti

PostPosted: Fri Aug 11, 2006 9:42 pm Reply with quoteBack to top

Set it to you mail server like this

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

; For Win32 only.
sendmail_from = yourmail@site.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;IF YOU HAVE EMAIL SERVER ON LINUX WRITE THE PATH TO SEND MAIL
;sendmail_path =
;Example:
sendmail_path = /usr/bin/sendmail/
View user's profileSend private messageSend e-mailYahoo Messenger
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