Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am getting mail delivery problem i got this error back open /var/log/alt-php72-newrelic/newrelic-daemon.log #4

Open
Femikuye opened this issue Mar 13, 2019 · 4 comments

Comments

@Femikuye
Copy link

When i send email to the Script.. I got an automatic email back.. It says
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
pipe to |/home/path/to/email-server.php
generated by [email protected]

The following text was generated during the delivery attempt:

------ pipe to |/home/path/to/email-server.php
generated by [email protected] ------

open /var/log/alt-php72-newrelic/newrelic-daemon.log: no such file or directory
I have been struggling with this for over a week now.. Please what is causing the issue and how can i go about it...

@MonstaApps
Copy link
Owner

Are you asking why sending email to the address [email protected] is bouncing?

@Femikuye
Copy link
Author

@MonstaApps Thanks for your quick response, i really appreciate it!!! Yes, my main Question is why the email always bounced when there is no error.. And also i want to know why files are not uploading.. I mean when files are attached to an email sent to the address it bounced back error, saying Permission is denied for mkdir function and file_put_contents functions.. I have being struggling with this issues for long.. I hope i will find a solution here.. Thanks for your Help

@Femikuye
Copy link
Author

Femikuye commented Mar 15, 2019

Hello, does it requires a specific Server for this Library to work? I am confused because I got error back to my email every time i sent an email message to the script.. The Below is the error i got bacvk to my email. `This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

pipe to |/home/mybidrec/public_html/email-pipe/application.php
generated by [email protected]

The following text was generated during the delivery attempt:

------ pipe to |/home/mybidrec/public_html/email-pipe/application.php
generated by [email protected] ------

PHP Warning: mkdir(): Permission denied in /home/mybidrec/public_html/email-pipe/application.php on line 14

text

text

multipartPHP Warning: file_put_contents(PayPal.PNG): failed to open stream: Permission denied in /home/mybidrec/public_html/email-pipe/class.php on line 132

image` I want to know if i am missing something here

@dafos
Copy link

dafos commented Jun 15, 2020

I had the same problem and resolve it by commenting this 3 lines on file class.php
/* lines 108 109 110
echo "

".$body_part->ctype_primary;
if ($body_part->ctype_primary == "body")
echo $body_part->body;
*/
I think when you are setting pipe mode if something write text the receptor assume tha there is a problem
At less in my case this ressolved the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants