Hi,
I'm all of three days experienced in this php thing. I was kind of forced into it whilst trying to connect to authorize.net via their AIM protocol from a windows system. Perl just wasn't getting the job done.
Anyhooooo....
Mission accomplished on that front. Posting test transactions and parsing the response without problems.
Now I'm trying to email a receipt to the customer and getting the following error:
Warning: mail(): SMTP server response: 503 5.5.2 Need Rcpt command. in D:\hshome\eliteent\rearlens.com\cgi-bin\auth\aim.php on line 282
I'm using the following syntax to send the mail:
mail($to, $subject, $body, $headers);
Where $headers includes the FROM: field.
I've also tried adding a RCPT TO: field to the headers but that does not help.
My host's mail server requires smtp user/pass authentication when I'm sending mail from my laptop, but I don't know that it is the same server that php uses. The php config file shows the stmp server as localhost.
Here are some url's to help flesh this question out:
https://rearlens.com/test/index.cfm?fuseaction=buy
order form page
https://rearlens.com/test/cgi/auth/phpinfo.php
will get you a glance at how php is set up on my server
I do not have access to php.ini
Please help.
RDP Net