progc Posted March 10, 2009 Share Posted March 10, 2009 ??? I'm a big time n00b and could use a bit of help. We moved servers and now my contact form is broken. I didn't build the first server and the new server is basically default. The form acts like it works, but no mail is sent. what info should I post to get a little help? Link to comment https://forums.phpfreaks.com/topic/148866-my-mail-form-is-broken/ Share on other sites More sharing options...
trq Posted March 11, 2009 Share Posted March 11, 2009 what info should I post to get a little help? The relevent code would be a start. Link to comment https://forums.phpfreaks.com/topic/148866-my-mail-form-is-broken/#findComment-781734 Share on other sites More sharing options...
progc Posted March 11, 2009 Author Share Posted March 11, 2009 That would be a great place to start.... Files attached. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/148866-my-mail-form-is-broken/#findComment-781747 Share on other sites More sharing options...
trq Posted March 11, 2009 Share Posted March 11, 2009 Your going to need to at least try and narrow your problem down to the relevent code and post it here. Simply posting bunch of files and saying it doesn't work doesn't help. Link to comment https://forums.phpfreaks.com/topic/148866-my-mail-form-is-broken/#findComment-781755 Share on other sites More sharing options...
progc Posted March 11, 2009 Author Share Posted March 11, 2009 ok, so what I'm seeing in my mail log is a connection refused message right now. I'm thinking at this pooint that it is not a form problem but a sendmail problem. However I was under the impression that PHP handled the mail via "post." ...again, new guy here trying to figure it all out. Thanks! Link to comment https://forums.phpfreaks.com/topic/148866-my-mail-form-is-broken/#findComment-781757 Share on other sites More sharing options...
trq Posted March 11, 2009 Share Posted March 11, 2009 However I was under the impression that PHP handled the mail via "post." PHP does not actually send mail. It simply passes the arguments passed to the mail function to the systems sendmail command. Is your mail server on the same machine as the web server? Link to comment https://forums.phpfreaks.com/topic/148866-my-mail-form-is-broken/#findComment-781771 Share on other sites More sharing options...
progc Posted March 11, 2009 Author Share Posted March 11, 2009 However I was under the impression that PHP handled the mail via "post." PHP does not actually send mail. It simply passes the arguments passed to the mail function to the systems sendmail command. Is your mail server on the same machine as the web server? Sendmail and Apache on Fedora, Mail goes to Exchange. The exchanger server let's the fedora server relay unrestricted. Link to comment https://forums.phpfreaks.com/topic/148866-my-mail-form-is-broken/#findComment-781795 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.