I think I've had this problem before, and I don't remember or can't find the solution. I have a website here that uses a php e-mail form. It's a really simple installation (only have to edit two lines of code, and the updates I made are good), but I think something needs to be switched to allow the php form to send mail from my hosting account with you guys. I'm more a designer than a developer, so if I'm not making sense, just beat me. I realize I'll probably have to provide login info for this account, so just let me know how I can securely do that. Please let me know if you can help. Thanks, Cary
Can you show here your code? Probably you can use [some pay product] in purpose to do it without coding. This way is quicker.
There are about half a million php mailer tutorials on line, I don't think we need a link to a form builder people need to pay for.
PHP mail() failing... I am having the same issue... This is the server info... Code: Linux bkfdweb02 2.6.16-gentoo-r9 #1 SMP Mon Jun 19 11:56:27 PDT 2006 i686 Apache/1.3.34 (Unix) (Gentoo) FrontPage/5.0.2.2635 PHP/4.4.0-pl1-gentoo Here is my test code... PHP: <?php error_reporting(E_ALL); echo 'Sendmail Path: '.ini_get('sendmail_path'). '<br/><br/>'. 'Normal Attept: '.(mail( '[email protected]', "Testing", "This is a test")?'success':'failure'). '<br/>'. 'Intermediate Attept: '.(mail( '[email protected]', "Testing with headers", "This is a test", "From: '[email protected]'")?'success':'failure'). '<br/>'. 'Advanced Attempt: '.(mail( '[email protected]', "Testing with -f parameter", "This is a test", "From: '[email protected]'", "-f'[email protected]'")?'success':'failure'); ?> Here is the result... Code: Sendmail Path: /usr/sbin/sendmail -t -i Normal Attept: failure Intermediate Attept: failure Advanced Attempt: failure Help!
You might have better luck asking the question on the forum of a *nix host, considering that's where you're trying to run it...