The error you are getting rite now is coming from your mail server directly, the line of code mentioned is the line that makes the call to the mail server, since this is what your mail server is responding with you should contact your host or mail server admin to determine why you are getting this error.
Please post back with the page that has the store order details that is not working and I will take a look.