473,395 Members | 1,386 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to pipe an email to PHP and resend certain parts?

Ok, so I can pipe an email to a program, but I need help with the script. I am looking to send an email to a certain address and then once the email gets to the address and piped to the script, I would like only the body of the email to be sent to another address. I would also like the email to have a different from email address and reply address. The reason I need a different from and reply address is because the email will be sent from my personal address, but I would like it to display my business address. The email address that it gets sent to is a predefined email address that will then distribute the edited email to all of the intended recipients.

Thanks for your help in advance.

Austin H.
Aug 11 '10 #1
1 1723
TheServant
1,168 Expert 1GB
Never done it before myself but I found this. Step 3 is about parsing the email received. Should be able to be adapted to what you're after. Quite a simple but clever piece of code.
Aug 11 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Wald | last post by:
Hello group, I've got a script here that sends emails with an attachment to an email address that is retrieved from an html form. The email sending code is include below. The problem: when...
4
by: djwallis81 | last post by:
I know there have been posts about this before but I am a python newbie and if someone can help I would appreciate it. I have a server running exim as its MTA. My users want to setup auto-reply...
2
by: Scott | last post by:
I have a text field that I am using in a query. It looks like this "123456". What I want to do is pull out the "1" "2" "3" "4" "5" "6" separately and put it in a report. I can pull out the...
7
by: J L | last post by:
I'm trying to expose only a limited set of method calls from a C# program to someone using my dll. The entire application is written in C# and my first attempt has been to try and write a COM...
5
by: syam | last post by:
Hai .. In my current project, i have the newsletter portion and i want to send the newsletter to the registrered users of the sites. I am not able to send mails to all domains eg:yahoo.com....
1
by: zeroblade | last post by:
I have a .txt file and I need to take the 1st line and then take the first 16 characters of the third line as an integer. Ex. 1st Joe::Employee Name 2nd 987654321:: SIN # 3rd ...
15
by: Craig Hurley | last post by:
Hello, user@x.com receives an email from user@a.com. I want to forward that email to user@y.com. I want the contents/header to remain intact, with the exception of adding "X-Forwarded-For". ...
1
by: jmruas | last post by:
I don't know how to use a normal PHP code to send email together with a crontab. Can someone help me, please? Thank you. Regards, José
1
by: Computernut234 | last post by:
Hi, i'm doing a project for my Java class and I know how to add text to a .txt document and remove the entire text but I do not know how to only remove certain parts of text. My code is supposed to...
19
n8kindt
by: n8kindt | last post by:
not sure if anyone can help me with this. i'm using my default email address to pipe to a certain php script. all i want the php script to do is read who the recipients are and send the email to said...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.