shaney Posted November 2, 2008 Share Posted November 2, 2008 Hello Forum, First off I am no expert were it comes to anything php, I hope someone can give me a little help on a problem I have. I setup a windows server 2003, php, mysql etc a few years ago and all is working very well. I host two of my own sites and quite a few charity sites, my problem now is that many of the charity sites want to use some of the php programmes I am using ie forum and photo gallery. I have set these up on there sites but am having problem getting there email to send via php mail. I am quite sure that I ether have to add something to my php.ini or make other php.ini on my server, maybe I am wrong Here is what I have now: [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 sendmail_from= admin@websitename.co.uk ; For Win32 only. sendmail_from = admin@websitename.co.uk This works fine for my site, but how do I add more address. Any help would be welcome many thanks……..Shaney Quote Link to comment Share on other sites More sharing options...
Third_Degree Posted November 2, 2008 Share Posted November 2, 2008 You could always try using fsockopen() and using a free smtp server... Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted November 2, 2008 Share Posted November 2, 2008 What problems are you having? Please show us the code you're using. Ken Quote Link to comment Share on other sites More sharing options...
shaney Posted November 2, 2008 Author Share Posted November 2, 2008 I have about 20 different websites running on my server, I use mybb forum, coppermine gallery and a few others they all require a php mail address in there setup page. The mail system on my website works fine but unless I use my email address on other people’s forums/galleys that I host, their mail will not work. Obviously I do not want to receive other people’s forum or gallery admin email. Sorry if this is a bit confusing as i am doing my best to explain....lol Quote Link to comment Share on other sites More sharing options...
shaney Posted November 2, 2008 Author Share Posted November 2, 2008 I did look for free smtp server but got a little confused as to wether or not they could sent mail from php script.....could you recommend a free service just encase what I am trying to do is not possible. Quote Link to comment Share on other sites More sharing options...
shaney Posted November 3, 2008 Author Share Posted November 3, 2008 I have been googling and still canot find a and anwser to this.....any idears Quote Link to comment Share on other sites More sharing options...
shaney Posted November 3, 2008 Author Share Posted November 3, 2008 I have been looking at the posts and they all seem to be about code before it reaches php server, i am wondering if i am in the right place for the help i need. I am thinking that i may need to go to a server type forum, can somone recomend one please.....many thanks Quote Link to comment Share on other sites More sharing options...
shaney Posted November 4, 2008 Author Share Posted November 4, 2008 Any body got any ideas on this problem or somewere i can get more info...Many thanks Quote Link to comment Share on other sites More sharing options...
shaney Posted November 4, 2008 Author Share Posted November 4, 2008 May be I should have posted this in PHP Installation, sorry I did not see the link. Quote Link to comment Share on other sites More sharing options...
revraz Posted November 4, 2008 Share Posted November 4, 2008 I don't understand your question. Add more addresses where, who you send to or who it comes from? I assume you mean From. The FROM usually has to come from a valid Email that is on the Domain where the site resides. Maybe you want to modify the REPLY TO address instead? Another option, create a email for each client on your site. This works fine for my site, but how do I add more address. Any help would be welcome many thanks……..Shaney Quote Link to comment Share on other sites More sharing options...
shaney Posted November 4, 2008 Author Share Posted November 4, 2008 All the php scripts that i use ie coppermine phplinkk directory require an admin email address, if this matches the email address in php.in the mail sends fine. This would be fine if i was just using server for my own site but i want to let others users use coppermin etc Quote Link to comment Share on other sites More sharing options...
xcoderx Posted November 6, 2008 Share Posted November 6, 2008 try turning register globals on Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted November 6, 2008 Share Posted November 6, 2008 Register globals should NEVER be turned on. Ken Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.