I'm looking for three things now for my webmail that I'm developing.
The first is the ability to add attachments. I have successfully setup some code so I can download attachments sent to me, but I was wondering if anyone out there knows of any sites that have some examples of how to include attachments in outgoing email.
The second thing I am looking for is to use a HTML form for writing the email, as opposed to a plain <input> field that I use now. Hopefully it will auto-recognize URLs and parse them into <a href=''> etc. Also, it will need to recognize HTML from original messages if someone were to reply or forward an email. Being able to recognize formating from copied text would be a bonus.
The last thing I'm working on is sorting the emails. Right now I just use a loop to go through each email and get it's sender, subject, and date. What I would like to do is be able to sort by each, also UID of each email. So if someone can point me in the direction I need to go of where I need to put the "imap_sort()" function, I'd appreciate it.
Thanks.