I have a messaging service that uses phpmailer class to send emails to SMS using SMTP. I'd like to send to MMS so it will keep all messages in one thread in a user's messaging app; however, when users reply to an MMS thread, the reply comes to my email as a .txt attachment.
I'd like to automatically download the text in the .txt file for every email that comes in and forward the email with the downloaded text to a zapier email parser. If I forward incoming email without first pulling out the text in the .txt file, the zapier parser cannot parse out the information I want. Is there a good mail class that can help me accomplish this?
Related
Hello I am using PHP IMAP to retrieve emails from various email-service providers like Gmail, Outlook etc
My question is that usually these service providers in every single Email Body send new message at the top along with email-chain(old-messages/conversation) at the end of the email. Now when I try to retrieve individual email message content I see both the new message content as well as entire conversation content, so my question is there anyway I can distinguish between new message content and conversation
Is there anyway I can use PHP IMAP to find out the new message content in a single email
PS:-
When I say conversation-content I am referring to the entire Email Conversation that gets appended automatically at the end of every email
i want to send emails to my users in my PHP project. i do this but sometime my emails goes to spam folder...
because of that i want to use Mailchimp but i cant find any example of how to use it.
i downloaded PHP APIwrapper but i cant use. i don't need to send html mails. i just send simple text. how i can do this? i just want my email don't goes to spam folder
I'm using authsmtp to send emails. When a subscriber report an email as spam they send me an email with the recipient address. I then copy the address to my interface to add it to the blocked emails list.
What is the simplest way to automate this? I can change my interface but need for example a service that will receive the email, extract the email address from the email body and call my interface as a soap call (with authentication preferably).
Any ideas ?
(the emails are legitimate by the way, its appx one in 10,000)
For doing this I have a crontask that runs a php script to connect to the mail account of the reply address (unsubscribe#domain) and then my php script will fetch and process any new mail.
So you will be able to process each mail and pass to your API via whatever means you want.
For the php - usually connecting via IMAP - don't have my own code handy but this previous post kind of covers what you're looking for. Processing incoming e-mail with PHP Script
I manage a live music venue's newsletter and the show listings/calendar on the main site are generated using PHP. Is there a way to generate content in newsletters via php?
Example, I create the newsletter.php file, upload the code to our newsletter service provider, and when someone opens the message, the latest listings are available in their email.
As of now, I'm only seeing a portion of the php code where I'd like to see the calendar...
You can generate the content of an e-mail with any scripting language, but only before sending it. Once the e-mail has been sent, it has to be in a format that e-mail clients understand (such as plain text or HTML).
It's also very easy to send email with php, with the mail function.
You could generate the email from your php template, and if it looks how you want it to, click a button and send that email to the people on your mailing list.
It sounds like you have a newsletter-delivery service in place, but this is another option.
Hi guys I'm integrating basic email capabilities in my application and I would like to be able to incorporate a decent reply / forward email facility. I have it covered with sending my own uploaded attachments but what about in situations where I recieve a message in my inbox with attachments and wish to forward that same message along with the attachments already attached to it as well as be able to choose which of the attachments to include and which not to.
Auto save/dowload the files in a temporary folder.
When a user (re)sends the email check through a form which of the attachments he wishes to send, and with the information of the form re-attach the files