开发者

Email pipe to php script working only sometimes

I have a php pipe script that receives an email, takes an attached *.csv from it and parses it.

However, when the email is sent from where it is supposed to be coming from, it silently errors. But when I take that sa开发者_如何学编程me email and resend it from my address it goes through just fine. is there any simple reason it could be doing this?


try and save some information about the email in a logfile before anything else, then some more info as you parse it. This way you get a more better understanding of what is happening


Is the email youa re sending from a real email? There may be a setting that allows emails to be sent from a valid user.

What happens if you chown the script to be the user you want to send the email from. Does it work then?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜