How can I put my downloaded emails back to my POP3 server? I want it to appear like how it was sent originally. I made a mistake of setting thunderbird to delete my server-side emails and keep only the local one. Now I need to re-upload it back to my web mail. How do I go about doing such?
NOTE:
The Mailredirect Extension is not compatible with my current ThunderBird so I don't think that trick will be possible.
The POP3 protocol has no provisions for uploading messages. You could use IMAP to upload them, if the server supports it, or just re-submit the messages to the mailserver via SMTP (this will add more Received: lines, and pass through any spam filtering or the like again, however)
Related
I want to remove attachments (files) from mails on the (exchange) server.
I currently use IMAP to access the accounts and mailboxes.
How do I remove the attachments on the server side without removing the message?
What you are asking for is not possible with IMAP. The only option is to download the desired message in full, alter it as needed, delete the original from the server, and then upload the modified copy.
My app creates an email that can have sensitive data in it (depending on the users perspective). Is there a way on the iphone's email client not save a copy in the Sent folder.
And in the same way, if the user choses they can send it via text..is there a way to not have it be in the Message streams.
I'm thinking there is not but I'd love confirmation of this if possible. I've been scouring but can't seem to tell if it's possible.
Thanks.
I'll break this into two parts:
Not putting a copy of a sent message in the sent folder:
There's no easy way to do this since you don't have access to a user's mail. You could have the user enter their email service's IMAP details and write your own mail sending implementation that then goes and deletes the sent message from the server, but it's possible that mail clients would keep a local copy regardless of what happens on the server if they grab the message before you delete it. Regardless, this is a really terrible user experience (having the user enter IMAP details, not using the built in mail composer) and it'd be difficult to write (and you would need to be insanely careful about deleting something from a user's mailbox, and you'd have to ask them if it's okay to do so).
Not showing a text message in a Messages app conversation stream:
There's actually a way to do this. Text messages can be sent to users via a specially formatted email address that's different for every cell service provider. For example, to send a text to a Verizon subscriber it'd be 5551239876#vtext.com. For this solution to work you'd need to send the message using some sort of automatically generated email address that you retrieve from a mail server you've created, and then you'd need to implement your own SMTP mailer on the device. Of course, a user can always request text message transcripts from their cell service provider (and some have easy access online) and there's no way around that.
How sensitive is this information? Email and text message aren't very secure protocols. You may want to consider alternative methods that provide encryption and authentication mechanisms.
No its not possible if you are using the built in mailer in iOS. Something you could do if you wanted to get around this would be to make a customer mailer, send the information to a server and send off the mail through code but this is quite a bit more work.
I just try to send an e-mail to signed up user from my rails web app. Do I need to use any smtp server or can I just send a mail from my app.? Do you have any suggestion idea about this? Thanks for returns :)
Yes, you need an SMTP server for sending mail.
There are two options, first is to use a mail server provided by someone else, e.g. the SMTP of the company that provides your server or their ISP.
The other option is to install a MTA (Mail Transfer Agent) on your server, one popular options is postfix. See here for instructions for Ubunutu.
I send bcc notifications automatic emails. Those are generated by Indy, using also SSL handler since I use smtp.gmail.com.
When I go to Sent Folder and I open one email I see the ccn list empty. This doesn't happen if I create and send an email with bcc recipients directly from gmail.com.
So when sent from Indy through smtp.gmail.com i don't see in sent mail the bcc recipients, if i send from the gmail webmail I see it.
Is there some Indy setting that I am missing?
In this question for example I see that another standard thing (the Message_ID) is missing by default and must be set. Do I need to set something to see this bbc info?
It could be that your local smtp client (or maybe gmail smpt) is stripping bcc informations when the message is sent. On gmail side, it could be different sending a mail directly from gmail (which may not use smpt to communicate internally, and anyway doesn't use Indy...) and from Indy through gmail SMTP implementation.
You could trace the communication using something alike Wireshark, although encryption makes it more difficult (you could try to send through a SMTP server which doesn't require encryption, or proxy it), and see if the bcc header is stripped by Indy or by the server. Moreover Indy comes with full source code...
I have application that needs to send emails and sms text messages. It sends emails just fine, but when I try to send text messages using email gateways (for verizon, xxxyyyzzzz#vtext.com) I get nothing. I have texted the phone using though the email gateway using my gmail account, so I know it works. I would just think that from my app's point of view I am just sending out another email. Any idea why this doesn't work? Or what I can do to troubleshoot it?
I should also note that I am doing this from a Rails app on my local computer...not that it should matter.
Maybe Verizon has software that can identify emails sent from software rather than humans, and rejects yours?
Try making your software add all the same headers (eg. X-Mailer) that a normal email client would add.
Verizon could be doing a reverse DNS query as a simple spam check. Your ISP's info could show up during this look up instead of the return address info that your email message contains, and thus could be getting blocked.
To troubleshot this make sure that the return e-mail address that you are using is coming from an ISP e-mail account.
Here is how to debug it on Linux. Run your Rails application server with strace:
strace -s99999 -e connect,read,write,close -o strace.log script/server
Then examine strace.log and see exactly which SMTP server the Rails application connects to, and what it reads and writes.
Then do the same with your favorite mail client (recommended: mutt, because Thunderbird is slow in strace).
Try to send exactly the same bytes from Rails what your mail client sends.
I have used SMS_Fu in the past to send out text messages. It has worked wonderfully.
I have written a client app for Ruby for sending SMS, please see http://freebiesms.blogspot.com/2009/07/send-free-sms-from-ruby.html to download
complete source code.
Regards
Dan