The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 12-11-2007, 02:08 PM
What's Jailbreak?
 
Join Date: Sep 2007
Posts: 9
Thanks: 1
Thanked 6 Times in 1 Post
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:

HTML Code:
<key>SignatureKey</key>
	<string>*YOUR SIGNATURE HERE*</string>
This is where the css/html will be placed (obviously)

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:

HTML Code:
<div style="color: green">This is my sig</div>
It would look like:

HTML Code:
<key>SignatureKey</key>
	<string>&lt;div style=&quot;color: green&quot;&gt;This is my sig&lt;/div&gt;</string>
Save the com.apple.mobilemail.plist and replace (backup original as it has other email settings in there as well) and your done.

Custom CSS/HTML Signatures (1.1.2)-img_0070.jpg

Hope this helps.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
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)
  #2  
Old 12-11-2007, 02:10 PM
Digital Oxygen's Avatar
My iPhone is a Part of Me
 
Join Date: Sep 2007
Posts: 525
Thanks: 0
Thanked 29 Times in 27 Posts

That's pretty neat. I'll give it a go. Thanks.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 12-11-2007, 04:12 PM
Kyle Matthews's Avatar
Owner / Founder - ModMyi
aka poetic_folly
 
Join Date: May 2007
Device + Firmware: iPhone 3G[S] | 3.0 | Jailbroke
Operating System: OS X Leopard 10.6.2
Location: Tampa, FL. Used to be Seattle.
Posts: 8,386
Thanks: 299
Thanked 2,632 Times in 857 Posts
Send a message via AIM to Kyle Matthews

Nice write-up.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to Kyle Matthews For This Useful Post:
mjames (12-11-2007)
  #4  
Old 12-12-2007, 03:39 AM
What's Jailbreak?
 
Join Date: Sep 2007
Posts: 9
Thanks: 1
Thanked 6 Times in 1 Post

thanks
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 12-12-2007, 08:50 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 2.2.0
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,231
Thanks: 45
Thanked 202 Times in 162 Posts

Very nice.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 12-12-2007, 11:45 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 282
Thanks: 21
Thanked 19 Times in 16 Posts

Thank you so much! This is very useful.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 12-20-2007, 01:59 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 282
Thanks: 21
Thanked 19 Times in 16 Posts

Bumping this because I think more people might want to see it...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 06-22-2008, 03:57 AM
WyldPhoenix's Avatar
iPhone? More like MyPhone
 
Join Date: Jan 2008
Posts: 102
Thanks: 13
Thanked 7 Times in 7 Posts

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
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9  
Old 07-04-2008, 07:14 PM
iPhoneaholic
 
Join Date: Nov 2007
Posts: 322
Thanks: 58
Thanked 38 Times in 30 Posts

Wow your right, really good find.

Work with 1.1.4?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 07-04-2008, 11:01 PM
What's Jailbreak?
 
Join Date: Mar 2008
Device + Firmware: iPhone - Factory Settings
Operating System: XPS 400
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??
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 07-04-2008, 11:17 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 282
Thanks: 21
Thanked 19 Times in 16 Posts

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...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 07-05-2008, 01:15 AM
What's Jailbreak?
 
Join Date: Mar 2008
Device + Firmware: iPhone - Factory Settings
Operating System: XPS 400
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?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13  
Old 07-05-2008, 03:08 AM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 282
Thanks: 21
Thanked 19 Times in 16 Posts

Quote:
Originally Posted by Stugotz View Post
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?
That's kind of a whole other topic... But short answer: no. To email pictures you currently must select the "email photo" button from the gallery and then compose a new email.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #14  
Old 07-21-2008, 03:02 PM
WyldPhoenix's Avatar
iPhone? More like MyPhone
 
Join Date: Jan 2008
Posts: 102
Thanks: 13
Thanked 7 Times in 7 Posts

This does not work in the new v1.2 firmware ... can't find the "sig" string in the plist file!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #15  
Old 07-21-2008, 10:12 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 282
Thanks: 21
Thanked 19 Times in 16 Posts

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.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 03:43 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top