still doesn't work
I put the ini_set("sendmail_from","info@soleusrunning.com") in the globals file, but it still doesn't work.
Question. The Universeral email is using the Mail object instead of the PEAR mail for SMTP.
Is this the correct object? It appears that the (actually it does) host uses the smpt mail and not PEAR.
Test out the contact form here: contact-soleus-running.php
It seems the mail object is not connecting to the server to send out. It's very weird becuase I have a simple for (outside of the universial email) that works. Here's the code:
/code/
$name = $_POST['name'];
$email = $_POST['email'];
$website = $_POST['website'];
$text = $_POST['comments'];
$to = 'info@soleusrunning.com';
$subject = 'Message from soleus running website';
$body = "Name: $name\nEmail: $email\nWebsite: $website\nComments: $text";
ini_set('sendmail_from', 'website@adaoglobal.com');
mail($to, $subject, $body);
header("Location: http://www.soleusrunning.com/index_jenabled.html");
/code/