I am having problems getting emails to send or receive. I have all of the appropriate settings in the admin console, but am not able to download or send emails using OSticket. I have used the search function on these forums which has helped me greatly. I know that I can send email out using the following php code(found when searching)
<html>
<head>
<title>PHP Mail() test</title>
</head>
<body>
This form will attempt to send a test email. Please enter where this test should be sent to<br><p>
<form action = "php_mail.php" method = "post" name="sendmail">
Enter an email address: <input type = "text" name = "to"><br>
<input type="submit" value="Send" name="submit"><input type="reset" value="Reset" name="reset"><br><p>
<?php
if(isset($_POST)){
$host = $_SERVER;
$uri = $_SERVER;
$mail_to=$_POST;
$mail_subject="Test email from $host";
$mail_body="This is a test email, sent from $uri";
$header = "Content-type: text/html\n";
$header .= "From: \"PHP mail() Test Script\"<noreply@$host>\n";
if(mail($mail_to, $mail_subject, $mail_body,$header)){
print "Email sent successfully!";
}
else{
print "Email did not send";
}
}
?>
</form>
</body>
</html>
but when I put in a ticket from my gmail address here is the output from miniRelay(what I am using to relay the email out).
18 Sending message
18 Error 5.5.2 Syntax error. b23si12569457ugd.20
18 Connected with aspmx4.googlemail.com
18 Error 5.5.2 Syntax error. 19si12645760ugl.12
18 Connected with aspmx4.googlemail.com
18 Error 5.5.2 Syntax error. 31si12625246ugg.8
18 Connected with aspmx5.googlemail.com
18 Sending message
18 Error 5.5.2 Syntax error. 4si5932462yxd.49
18 Connected with aspmx5.googlemail.com
18 Error 5.5.2 Syntax error. 5si3805441yxt.1
18 Connected with aspmx5.googlemail.com
18 Error 5.5.2 Syntax error. 30si9805yxk.47
18 ERROR: 3 times retried, returning message
I don't even know where to start to troubleshoot this because I checked all of the settings in the admin panel many times over. Again, I just want to be able to download pop3 messages - which OSticket says I have the correct settings when I test them, and respond to them. Additionally when a user places a ticket I want to be able to have OSticket auto-respond to them. I have OSticket hosted on a separate server running XAMPP not on my domain if it helps.