I am building an iPhone application that generates an email with an attachment. The eMail message window pops up showing the body text and attachment followed by the default "Sent from my iPhone" signature text.
Everything seems perfectly ok, except when the message is received by the recipient the signature "Send from my iPhone" has been converted into a text attachment instead of remaining as the last line of the body. What gives?
Update: It seems that it's only Outlook that exhibits this behaviour. When I view the message in iPad Mail the signature does show as body text, not an attachment.
How does the email view in other applications, such as Apple Mail, Eudora, Lotus Notes, Thunderbird, etc ?
I'm suspecting that it's to do with Outlook's anal attempts to "protect the user experience", the same as it does if you email an EXE file (won't let the recipient open it).
It's an Outlook issue. Go to Options, Mail, Message Format, then UNCHECK "Reduce message size by removing format information...." Click here to see:
Outlook Options
Related
I was a little bit surprised to see Unsend.it this morning.
How is it possible to unsend or edit a sent email ?
I would like to know technical details of how this works.
Is it possible for us to achieve this through programming ? If possible can anyone present me some code sample ?
They don't actually "un-send" the email. How it works is that the text content of the email is transposed into an image file and the text is removed from the email and replaced with the dynamic image file that contains the transposed text. So it looks like a text email, but is actually an image of the text of your email.
The image is remotely loaded from their servers so if you want to "un-send" the email, they change the image and remove the original text. The email itself remains in the recipients Inboxes', its now just a blank email that has been "un-sent".
Update 2019:
The email is not actually sent, instead they just wait for a cancellation period (which is configurable), to actually send it. So until this time passes, the email is actually sent. So if you click cancel within the timeframe, the email is never sent.
I've got a problem with Lotus Notes (apart from it's lotus notes), when we receive an e-mail with a csv attachment the attachment gets embodied into body of the message.
Is there any setting on the lotus server I can change to stop this from happening?
Anyone out-there with any ideas?
After over a week I've found out what the issue was. The email sender sent the email with a Context Description of inline rather then attachment thus lotus notes rather then notice that the file extension was csv took the inline factor literally.
Once I change the context description in notepad of the .msg file and resent the file it displayed correctly.
'Received email message and subject contain german symbols, including umlauts(as 'ä', or 'ö'). Mail body is being displayed correctly, no problems with umlauts, but mail subject has problems with them:
Outlook 2003: 'Bestätigung' is displayed as 'Besttigung'
Outlook 2010: 'Bestätigung' -> 'ä' is dispayed as some unreadable symbol
How to make it display correctly?
P.S. Thunderbird displays subject with umlauts correctly.
If Outlook displays it that way, you cannot fix that - but wouldn't the problem be with the sender sending messages with a wrong encoding?
Or do you mean it is only displayed incorrectly in your own UI?
Problem was next: when creating mail, mail body was set encoding 'UTF-8', and subject was not.
I using phpmailer to send mail but I have a problem with Thunderbird with 'inline images' and 'attachment file' !
If I use only 'attachment file' I can see the attachment icon in Thunderbird, but with both, 'inline images' and 'attachment file' in the mail, the attachment icon is not showed in Thunderbird (works fine with all other webmail like gmail, hotmail, yahoo, etc...)
I already checked these posts
http://forums.mozillazine.org/viewtopic.php?f=39&t=2245979
https://bugzilla.mozilla.org/show_bug.cgi?id=682226
but I can not solve this problem
I had a similary problem.
Upgrade to the last version of PHP Mailer (v5.2.1).
In the AddAttachment(arg1,arg2) dont forget to precise the arg2.
I'm using the MFMailComposeViewController to send an email from within an iPhone v3.0 application. I programmatically create the message body text and display it before showing the picker.
At the bottom of my message body text is the string "Sent from my iPhone." Is there anyway to modify this text or prevent it from appearing? A cursory review of the MFMailComposeViewController Class Reference and quick Googling doesn't turn up anything.
Thanks in advance.
As far as I know, this is a global mail setting that can be specified by the user. By default the signature is set to "Sent from my iPhone", but it can be changed in Settings - Mail,Contacts,Calendars - Signature
If you are referring to the signature in the iPhone Simulator, it's just there by default. There's no Mail.app and therefore no settings for Mail to disable it. You can't actually send an email either, but it's just nice that they at least enabled MPMailComposeViewController. If you use MFMailComposeViewController, the user's signature on their own device will display in the bottom of your custom app message.
No actual programmatic way to do this.
It is using signature from Settings.
To remove the signature on your phone, open Settings app, type Signature and tap Signature option from the list, as in image.
You will be prompted a textfield which you can leave empty to remove the signature:
You can add some kind of signature programmatically, using preset text:
let mail = MFMailComposeViewController()
mail.setMessageBody("<br><br><br><p>Some user metadata here</p>", isHTML: true)
and it will look like this, assuming user has deleted his signature in Settings, otherwise signature will be below Some user metadata here: