-
12-11-2007, 01:08 PM #1
Custom CSS/HTML Signatures (1.1.2)
I seen this article and wanted to do it but I'm on vista.
On one note though this doesn't cover embedding an image because most email clients won't display them or blocks them so I kept my sig strictly html/css.
Also before starting this, be sure and change the signature from the default "Sent from my iPhone" to anything else so it will create the xml key we'll need later.
Anyways, after some looking around I found everything I needed online to do it without a mac.
First SSH into your phone to: ./private/var/root/Library/Preferences
and copy com.apple.mobilemail.plist to your desktop.
But it's binary so we need to covert it to XML, so go to:
http://140.124.181.188/~khchung/cgi-bin/plutil.cgi
and it will covert it to XML and prompt you to save the converted file, you can just replace the current one on your desktop.
Next, open the com.apple.mobilemail.plist in a text editor (I used wordpad).
Look for:
This is where the css/html will be placed (obviously)HTML Code:<key>SignatureKey</key> <string>*YOUR SIGNATURE HERE*</string>
You can go here:
http://htmledit.squarefree.com/
to use a real-time html editor to view your work if you don't have a local html editor.
After you get something you like you need to encode it the xml won't take to the css and html tags outright.
So go here:
http://centricle.com/tools/html-entities/
and paste the css/html into the box and hit Encode.
Now you can take that code and replace your signature text in the string.
So if you wanted to add:
It would look like:HTML Code:<div style="color: green">This is my sig</div>
Save the com.apple.mobilemail.plist and replace (backup original as it has other email settings in there as well) and your done.HTML Code:<key>SignatureKey</key> <string><div style="color: green">This is my sig</div></string>

Hope this helps.
-
The Following 6 Users Say Thank You to mjames For This Useful Post:
Kyle Matthews (12-11-2007), MOSHO92 (12-12-2007), mrfin (12-11-2007), NetMage (12-12-2007), skeredmobile (02-19-2009), WyldPhoenix (06-22-2008)
-
12-11-2007, 01:10 PM #2
That's pretty neat. I'll give it a go. Thanks.
Search NAZI
-
12-11-2007, 03:12 PM #3Owner / Founder - ModMyi
aka poetic_folly
- Join Date
- May 2007
- Location
- Tampa, Florida, United States
- Posts
- 8,207
- Thanks
- 508
- Thanked 4,484 Times in 1,114 Posts
Nice write-up.
-
The Following User Says Thank You to Kyle Matthews For This Useful Post:
mjames (12-11-2007)
-
12-12-2007, 02:39 AM #4
thanks
-
12-12-2007, 07:50 PM #5
Very nice.
-
12-12-2007, 10:45 PM #6
Thank you so much! This is very useful.
-
12-20-2007, 12:59 PM #7
Bumping this because I think more people might want to see it...
-
06-22-2008, 02:57 AM #8
Awesome find guys!
Quick question: Can you change the actual font face (from Times New Roman --> Tahoma) for the REST of the email ???
e.g. I use Tahoma font for my signature. But when I type an email the body of the email is in Times New Roman.
Can't I change the iPhone email app to use Tahoma instead of Times New Roman ????
Thanks
-
07-04-2008, 06:14 PM #9iPhoneaholic
- Join Date
- Nov 2007
- Location
- Houston, TX
- Posts
- 379
- Thanks
- 77
- Thanked 42 Times in 34 Posts
Wow your right, really good find.
Work with 1.1.4?"Thanks" button. Learn it. Use it. Love it.
-
07-04-2008, 10:01 PM #10What's Jailbreak?
- Join Date
- Mar 2008
- Location
- Californ I Bay - San Fran Mission
- Posts
- 9
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Cool,
Can I put my picture w/signature doing this??
-
07-04-2008, 10:17 PM #11
If you can make it work in HTML, then you can make it show up in your signature. Whether or not the recipient can view it depends on their email reader. Unfortunatly, because you can only modify the signature portion of the message, you can't change the rest of the message outright (font, color, etc.).
One trick that might work would be to make a message template as you signature. Create a "dummy" charachter in the font/ style of your choice, then use that paragraph to compose your email. It could work, but is a pita...
-
07-05-2008, 12:15 AM #12What's Jailbreak?
- Join Date
- Mar 2008
- Location
- Californ I Bay - San Fran Mission
- Posts
- 9
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Is there a way I can attatch a photo when replying to an email addy on the web instead of writting down their email addy then selecting a photo from my gallery then typing it manually?
-
07-05-2008, 02:08 AM #13
-
07-21-2008, 02:02 PM #14
This does not work in the new v1.2 firmware ... can't find the "sig" string in the plist file!
-
07-21-2008, 09:12 PM #15
Did you make sure you changed the default signature to something other than "Sent from my iPhone"? I'm on windows, so I cant help much right now, but this mod is the main reason I want to jailbreak.
-
01-11-2009, 03:54 AM #16
Best tutorial I've used so far... few changes tho. I used this to convert binary to xml online: Binary — XML .plist converter - iAppCat
THANKS!!
-
02-19-2009, 10:59 AM #17
awesome guide! still works on firmware 2.2.1 (except the .plist is found in: /private/var/mobile/Library/Preferences/ )
thanksLast edited by skeredmobile; 02-19-2009 at 11:01 AM.

-
02-22-2009, 05:49 PM #18
everytime I go and replace the file in the dir, and restart my phone it doesn't work. I i look at the file I uploaded to the phone, and re download and open it, its the 'stock' file, but I know im uploading my modified .plist..
do I need to set permissions or somthing on the dir?
-
07-15-2009, 08:47 AM #19
@mp3supply did you ever get that issue fixed? On my 3g it worked fine, but now on my 3gs I'm having that exact same issue. I put in the modified file and it does not work, if I restart it gets overwritten.
Anyone tried this on the new model? Or even the old 3g with the 3.0 software?
Thanx
-
07-15-2009, 09:04 AM #20
not sure about the files being overwritten but I did notice that if you use Supreme Preferences 3.0 you can just manually type the html code into the Signature field (Settings > Supreme Preferences > Applications > Mail, Calendars > Signature)
try that, it should work



LinkBack URL
About LinkBacks
Reply With Quote


