still doesn't work
I put the ini_set("sendmail_from","email@example.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:
$name = $_POST['name'];
$email = $_POST['email'];
$website = $_POST['website'];
$text = $_POST['comments'];
$to = 'firstname.lastname@example.org';
$subject = 'Message from soleus running website';
$body = "Name: $name\nEmail: $email\nWebsite: $website\nComments: $text";
mail($to, $subject, $body);