The iPhone Reaches 29 More Countries Stack 2.0

Custom E-Mail Signature (updated)

September 26, 2008 by Douglas  
Categories: hack, mail
Tags: ,

40 Comments
11,457 views

MailThere is a hack out that will allow you to change your email signature in Mail. We wrote about it before for older firmware but someone emailed us and asked why it doesn’t work with 2.x firmware. The main reason is the directory path has changed to mobile from root. I’m also updating the link to convert the file to XML. It’s not easy, so be ready to spend a few minutes on this one:

1. Make sure your signature is not the default one that only says, “Sent from my iPhone”. Changing it to anything else so it creates a custom file.

2. Backup existing config file for mail. It’s called com.apple.mobilemail.plist and it’s located in the /private/var/mobile/Library/Preferences/ folder. Just SSH in and copy it to your computer somewhere in case you mess the file up :)

3. Copy the same file, com.apple.mobilemail.plist, to your desktop so we can edit it.

4. Before we can edit it you must convert it from binary format to ascii/text format using this site: iappcat.com/plist/bin2xml. Just browse for the file we put on the desktop and click convert. It will then give you a file to download. You can just save over the one on the desktop since we made a backup of the original.

5. Open com.apple.mobilemail.plist with a text editor.

6. Find something like this between the :

Sent from my iPhone.<div><br class="webkit-block-placeholder"></div><div>Learn how to use, hack and mod the iPhone at appleiphoneschool.com.</div>

We will be replacing the above code with our own custom code but we need to convert it from CSS and HTML to XML. To do this, customize the code below and then convert it with centricle.com. (Select Encode)

John Doe

yourwebsite.com

sent from my new iPhone

Your code will look like this after you convert it:

<div style="font: 10px 'Lucida Grande',Verdana, Arial, Sans-Serif;
line-height: 18px;
color: #525252;
margin: 6px 0;
padding: 6px;
border-top: 1px #999999 solid;
border-bottom: 1px #999999 solid;
background: #fff">
<div style="padding: 2px 0 2px 70px; background: url('http://yourwebsite.com/yourimage.jpg">
<strong>John Doe</strong>
<br />
<a href="http://yourwebsite.com">yourwebsite.com</a>
<br />
sent from my new iPhone
</div>
</div>

7. Now save the file and upload it to your iPhone via SSH. You may notice that the image doesn’t show up when you go to compose an email. This is because mail doesn’t connect to the internet during composing so you won’t see the image. Also, many email providers block the image anyway. I have found that Gmail, Yahoo & Hotmail block this feature although sending to another iPhone works fine. A possible way around this is to covert the image to data URL. Again, this doesn’t work for most mail providers either. Here’s a site that will convert it for you: http://www.sveinbjorn.org/dataurlmaker. I suggest just using links and other simple coding.

Using the Data URL here’s what it should look like:

Mine doesn’t have the lines in it because I removed that code. And I’m also using the option of the Data URL that’s why you can see the image in Compose Mode. Here is a link to my exact file: com.apple.mobilemail.plist If you need help just email me at help@appleiphoneschool.com.

Similar Articles:

Custom E-Mail Signature (3215 views)

Fix IntelliScreen + Kate (1295 views)

iPhone 3G code in Apple.com/br/ (723 views)

Email Multiple Images – 3.0 Firmware (4748 views)

Readdle Releases Scanner Pro – Portable PDF Scanner (2114 views)

Comments

40 Responses to “Custom E-Mail Signature (updated)”

  1. Critter on September 26th, 2008 9:44 am:

    Nicely done mate. Thanks

    [Reply]

  2. John Laffey on September 26th, 2008 10:16 am:

    I have been at it for an hour and no joy. I got it to work when it was my 2G but this 3G no joy. I have followed to the letter. John

    [Reply]

    Brooke on September 26th, 2008 10:20 am:

    Can you tell where you’re having troubles? Which step?

  3. John Laffey on September 26th, 2008 10:42 am:

    Hi Brooke it would appear the it does not like the picture added. I will give my head a break and try it again tomorrow. Thanks for the reply
    John

    [Reply]

  4. totushi on September 26th, 2008 11:04 am:

    cant wait to try this!!!

    [Reply]

  5. Brian on September 26th, 2008 11:22 am:

    Ew thanks a bunch for this. Will give this a shot later today. Will post my results.

    [Reply]

  6. Cezex on September 26th, 2008 12:21 pm:

    It’s easier just to go to Settings > Mail > Signature and write there anything you want :)

    [Reply]

    Brooke on September 26th, 2008 2:01 pm:

    as far as I know you can’t enter clickable links, insert images or edit font color, bold etc.

    alvareo on September 27th, 2008 12:05 pm:

    @Cezex: if it was as simple as that, do you think they would make a guide like this???

  7. Brian on September 26th, 2008 1:24 pm:

    Um the link in step #4 is not working at the moment: http://iappcat.com/plist/bin2xml

    Any other ones I can use to convert the file.

    Thanks.

    [Reply]

    Brian on September 26th, 2008 1:25 pm:

    Seems to be back up. My bad.

    tonman23 on September 26th, 2008 2:56 pm:

    still down

    Douglas on September 26th, 2008 4:03 pm:

    Yeah, it’s showing too many connections. If anyone else has a good site to convert from binary format to ascii/text format, feel free to share in the comments.

  8. DeNon Sante on September 26th, 2008 3:17 pm:

    hey guys,
    when i open my .plist from my iPhone 3G it only shows this

    bplist00Ý _LastAccountViewed_ShowToCCIndicators_PlayNewMailSound_FontSizeSetting[ReplyToSelf^TableOffsetKey_PlaySentMailSound_ShowMessageDeleteConfirmation_ShowMessageHeaderDetails^LinesOfPreview\SignatureKey_UISuspendedSettings_DCFLastDirectoryNumber_$F4BF358D-C7E8-494B-8EC5-BDB57171EE7A R15" Q0oSent from my iPhone Ñ_UISuspendedDefaultPNGKeyWDefaultd#7L_q}Œ ÀÛê÷ &MNORSXYZ[]ˆ‹¦®°

    [Reply]

  9. Critter on September 26th, 2008 4:46 pm:

    hmm just can’t get it sorted. Even if I take /your/ file and just replace the top account information… when I respring.. it just gives me a default file again…

    [Reply]

    Critter on September 26th, 2008 5:32 pm:

    Nevermind… I was finally able to sort it..

  10. John Laffey on September 26th, 2008 5:44 pm:

    I glad someone else is having problems. I also default to default file, John

    [Reply]

  11. B.Cherry on September 26th, 2008 8:00 pm:

    Wow, that’s cool! i’M still on 1.14. Can iT be done with this firmware?

    -sent from my iPhone
    __________________
    iGet enough exercise just pushin’ my luck!

    [Reply]

  12. almanzarj on September 27th, 2008 2:42 am:

    hey guys this is a great tutorial…i was able to figure out how to get the image to show on outlook, gmail and yahoo…the code to insert the image is below:

    customize as needed and do not forget to encode…

    thanks

    [Reply]

  13. almanzarj on September 27th, 2008 2:43 am:

    for some reason it does not allow me to post here but if someone needs it email me almanzarj@gmail.com

    [Reply]

  14. DeNon Sante on September 27th, 2008 2:50 am:

    sorry if i’m sounding like a complete dufus, but can you simplify the way this is supposed to be done……LOL
    for instance, can i just copy & paste the info doug listed & add my name?
    Also, how do i go about adding a photo like doug did in his signature mail.
    Thanks for the assistance :)

    [Reply]

  15. kauffman on September 27th, 2008 1:13 pm:

    for some reason my file com.apple.mobilemail.plist seems to be different…when i convert it to text, it shows stuff of gmail and i erased my gmail account…i only have one email account (my jobs email) and is set to main account. I cant find where it says “Sent from my iPhone” so I dont know where to start from. Any ideas?

    [Reply]

  16. Firma personalizzata su iPhone: ecco come si fa - iPhone Italia - Il blog italiano sull’Apple iPhone 3G on September 28th, 2008 1:02 am:

    [...] Apple iPhone School ha pubblicato un articolo molto interessante su come creare una firma personalizzata da inserire in tutti i messaggi di posta inviati dall’iPhone. Ovviamente, la personalizzazione va molto oltre la semplice modifica della firma testuale che si imposta da Impostazioni > Email, contatti, calendari > Firma. Vediamo nel dettaglio come si fa su firmware 2.1. [...]

  17. Dan on September 28th, 2008 1:09 am:

    Is there a way to add an image to a gmail signature???

    [Reply]

  18. ioffe on September 28th, 2008 10:00 am:

    I can do it on 2.1 without jailbreaking the phone. But I won’t release the trick until Caissa Chess 2.1.1 is out. We do that for mailing chess games with out signature.

    [Reply]

  19. Friends of the Mac » Firma personalizzata su iPhone: ecco come si fa on September 28th, 2008 10:44 am:

    [...] Apple iPhone School ha pubblicato un articolo molto interessante su come creare una firma personalizzata da inserire in tutti i messaggi di posta inviati dall’iPhone. Ovviamente, la personalizzazione va molto oltre la semplice modifica della firma testuale che si imposta da Impostazioni > Email, contatti, calendari > Firma. Vediamo nel dettaglio come si fa su firmware 2.1. [...]

  20. Arne on September 28th, 2008 12:56 pm:

    Well, I can do what I want. After copying the modified .plist file to my iphone via ssh, restarting iPhone and opening a new mail, there again is the text…sent from iPhone….i hate it! What’s wrong with it? Anyone knows???? Please help….

    [Reply]

  21. kauffman on September 28th, 2008 1:25 pm:

    i cant get it done…it looks so pro…help me out brooke…doug?

    [Reply]

  22. Firma personalizzata su iPhone: ecco come si fa | Il Tuo iPhone (Apple) on September 28th, 2008 2:55 pm:

    [...] Apple iPhone School ha pubblicato un articolo molto interessante su come creare una firma personalizzata da inserire in tutti i messaggi di posta inviati dall’iPhone. Ovviamente, la personalizzazione va molto oltre la semplice modifica della firma testuale che si imposta da Impostazioni > Email, contatti, calendari > Firma. Vediamo nel dettaglio come si fa su firmware 2.1. [...]

  23. bob on September 28th, 2008 4:12 pm:

    stack is available woot!

    9/28/08

    [Reply]

  24. Dis-Enchanted on September 28th, 2008 4:34 pm:

    This site has really taken a severe downfall. I used to be excited to sign on and see updates. Now its an update every 2 days. You would think having CYDIA and APP Store, there would be plenty of app reviews. Im afraid I will now go elsewhere to get my updates. Take care AIS.

    [Reply]

    iName on September 28th, 2008 11:18 pm:

    yeah seriously what happened to this place?

  25. kauffman on September 29th, 2008 12:48 am:

    they must be busy..lets give em a break

    [Reply]

  26. generator on September 29th, 2008 2:24 pm:

    The link color changes back to default blue as soon as I send it. Is there any way that this can be changed?

    [Reply]

  27. iLauncher on October 3rd, 2008 1:02 pm:

    in my case, even after i ssh the com.apple.mobilemail.plist file in /var/mobile/Library/Preferences, and try to compose a mail, it displays my default (not the ‘Sent from my iPhone’ one) signature again and not the custom one. i checked the filesize thru ssh and it had returned to the original filesize.

    [Reply]

    iLauncher on October 5th, 2008 10:39 am:

    douglas, i hope u check my email i sent u at help@appleiphoneschool.com coz i have finally got the logo to appear in my signature but the text overlaps the logo. if i place the text between the two , the logo completely disappears in the signature. i hope i can solve this. thanx, in advance.

  28. learn something » iPhone Custom Email Signature on November 16th, 2008 10:50 pm:

    [...] nice email signature on your iphone, you’ll need to jailbreak it first. Here is the link http://www.appleiphoneschool.com/2008/09/26/custom-e-mail-signature-updated/. email, iPhone, [...]

  29. guasha tools on March 11th, 2009 3:46 am:

    These tips make sense, now I just have to try them, lol

    [Reply]

  30. Taylor on March 24th, 2009 6:36 pm:

    Hey, is there a section just for latest news

    [Reply]

Please leave a comment below...
and if you want a pic to show with your comment, go get a gravatar!





The iPhone Reaches 29 More Countries Stack 2.0