Jump to content

trico

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by trico

  1. I have a php script written to receive and process emails sent to a certain address. For right now it's just a test script I copied from someone else that just grabs the message from the email and resends it to one of my gmail addresses. This is a script that person tested and used himself so it works, I only edited the email address it forwards to. I have the script saved to /home/trico/scripts/emailtest.php and I set up the email forwarder in cPanel to forward emails sent to emailtest@trico.heliohost.org to |/home/trico/scripts/emailtest.php. I tested it by sending an email to emailtest@trico.heliohost.org through Outlook, and I immediately got the following "Message delivery failed" response: I did not receive the email that my script was supposed to forward to my gmail account either, so the script must not have received the email and fire off (since I got this delivery failure notice I'm assuming it's a problem with the email being delivered to the script and not a problem with what my script is doing). The hashbang at the top of my script is #!/usr/bin/php so am I using the right hashbang? Would that even be the problem? I could also post my script if necessary but it just seemed to me like it's a problem with the email being routed correctly. Thanks for any assistance given.
×
×
  • Create New...