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
Related
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?
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
Is there a way in PHP to update an email id in a mail server if we have the access details of the mail server. The requirement is as follows.
I am developing a community website which need a provision to upload photos to their photo gallery by sending an email. We planned to create email id for each user so that they could send emails with photo attachments to that id. A cron job will search for emails inside those id's and if it finds a mail with attachment, uploads the file to the server and subject of the email will be considered as the photo caption.
But it has a security loophole such that anyone who knows the email id can send an email and add photo to others account. We are planning to have a security code in their id which can be modified by user if required.
eg. name.XXXX#domain.com where XXXX is a four digit secret code. THe user can change that code whenever required. i.e. the email id can be name.1234#domain.com or name.3452#domain.com according to the user's wish to maintain privacy. So is there a way to edit the email id using PHP functions.
Creating email accounts and/or aliases would certainly be possible with PHP, but it would depend so much on your server setup.
Another route to consider would be to not have any real email boxes, but to instead have all email delivered to a catch-all account and have your cron script search through that one mailbox and compare all recipient addresses against a database, then you don't have to worry about actually creating real email users on the server.
Additionally, in terms of improving security, you could have each user authenticate which sender email addresses are allowed to send emails with photo attachments. It's still not bullet-proof, because sender addresses can be spoofed, but it's an extra step in the right direction.
I have a form, which gathers some Information of my visitor, and when they submit the Information, it will send it to my desired email. now I need another input "file" that they can even attach their photo and send along with it to my email not on my server, I have no Idea how can I do that, I would appreciate any helps.
phpmailer is a great email engine. it has many features one of which includes sending attachments. i would give this example a look, its pretty much exactly what you are trying to do.
http://zainal.wordpress.com/2007/01/10/sending-email-attachments-in-php-using-phpmailer-class/
Check out PEAR Mail_Mime for building the e-mail with attachments and optionally PEAR Mail for sending it.
Here's a link to show you how to do the file input:
http://www.cs.tut.fi/~jkorpela/forms/file.html
When you send the email, you'll have to send the file as an attachment. This link gives the idea:
http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php#attachment
(DISCLAIMER: I haven't coded PHP for a few years, so I don't know if this is the best way to do it. I just searched Google and skimmed the first link that came up).
Does anyone have any experience developing a way to allow users to upload photographs (and possibly video) to a website to be stored in a database from mobile devices? We will be running our system on a UNIX platform and most of the system logic is written in PHP and data is stored in a MySQL database.
Members will be given an email address which they will send attachments to. When a new member joins a new email address will be created with the users unique username.
Attached images, video or audio will be parsed, stored on the server and a record of the image etc added to the database.
Is it possible to provide a way to send photos by text message / multimedia message
What about iPhone, eyefi cards etc would these send photos using email that we could parse?
cheers
The easiest way to do this is to run a cron task that connects to the POP/IMAP account, grabs all the emails and processes through them.
There are probably several libraries to help you out with this but if you want to write your own the basic steps are:
1) Go out, get the email
2) Find the attachments
(You are going to want to look up 'getting attachments from emails through PHP')
3) Find any Body information you actually want to keep (Descriptions/etc)
4) Write it to the Database
About iPhone emails: All emails are created equal because it is a pretty open format, except for some proprietary products. I'm guessing that the iPhone will send an attachment similar to any other email client.
The MMS side I can't help you with.