EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > FastMail Forum
Register FAQ Members List Calendar Today's Posts
Stay in touch wirelessly

FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc.

Reply
 
Thread Tools
Old 20 Sep 2010, 10:43 PM   #46
Mystakill
Cornerstone of the Community
 
Join Date: Mar 2003
Location: Baltimore, MD (USA)
Posts: 835
Quote:
Originally Posted by Jeremy Howard View Post
I'm thinking every 6 hours automatically, and max every one hour manually.
Thanks. That sounds like a fairly reasonable sync period.

I just ran a sync and notice that it had imported a number of contacts which I *don't* want to sync, so that they don't clutter up my phone. I've added a bunch of vendors to my contacts solely so that the images in their emails will automatically load, rather than me having to click the load images link in a message. I've put them into a separate group from the rest of my addresses.

Would it be possible to query a user's FM address groups and then offer a checklist of groups to sync/not sync?
Mystakill is offline   Reply With Quote
Old 21 Sep 2010, 12:28 AM   #47
Ennis
Cornerstone of the Community
 
Join Date: Apr 2002
Posts: 984
Jeremy. I thought you left Fastmail. What have I missed? You and I used to communicate a lot back in 02.
Ennis is offline   Reply With Quote
Old 21 Sep 2010, 10:21 AM   #48
Jeremy Howard
Ultimate Contributor
 
Join Date: Sep 2001
Location: Australia
Posts: 11,501
Quote:
Originally Posted by Ennis View Post
Jeremy. I thought you left Fastmail. What have I missed? You and I used to communicate a lot back in 02.
I'm like Kirill - an enthusiastic alumnus!
Jeremy Howard is offline   Reply With Quote
Old 21 Sep 2010, 10:24 AM   #49
Jeremy Howard
Ultimate Contributor
 
Join Date: Sep 2001
Location: Australia
Posts: 11,501
Quote:
Originally Posted by Mystakill View Post
Would it be possible to query a user's FM address groups and then offer a checklist of groups to sync/not sync?
It's certainly doable, although I doubt it'll happen in the short term (I'd rather keep the UI to an absolute minimum for now).

Maybe a simple solution that doesn't require a UI would be to define some particular group name, like "Ignore", which doesn't get synced in either direction.
Jeremy Howard is offline   Reply With Quote
Old 23 Sep 2010, 05:19 AM   #50
gjdev
Junior Member
 
Join Date: Sep 2010
Posts: 20
About international characters:
Quote:
Originally Posted by Jeremy Howard View Post
This is also now fixed (thanks again Rob!) Make sure that in FM you first have selected Default Charset: UTF-8, in Options->Account Preferences.
Jeremy, since you seem to have special characters working: can you let me know how they are encoded in the messages send by fastmail? They seem wrongly encoded to me. For instance the name "Gérjön" is send by fastmail-soap as:

<Value xsi:type="xsd:base64Binary">R8ODwqlyasODwrZu</Value>

Base64 decoded this is (in hex notation):

47.c3.83.c2.a9.72.6a.c3.83.c2.b6.6e

Which looks most to me like UTF-8, but it is not the UTF-8 representation of the string "Gérjön", but of the string: "Gérjön".

It looks to me that fastmail just somehow messes this up. Do you know how to correctly read the value send by fastmail?
gjdev is offline   Reply With Quote
Old 23 Sep 2010, 11:48 AM   #51
Jeremy Howard
Ultimate Contributor
 
Join Date: Sep 2001
Location: Australia
Posts: 11,501
Quote:
Originally Posted by gjdev View Post
About international characters:
Jeremy, since you seem to have special characters working: can you let me know how they are encoded in the messages send by fastmail?
Interesting question - however probably a bit out of the scope of this forum. Could I trouble you to post that question to the FastServices development forum at: http://www.fastcheck.org/phpbb2/viewforum.php?f=4 ? I will then look into it and answer your question there if I can. (The short answer - I am using a .Net web service auto-generated from the WSDL, and it is giving me the right result.)
Jeremy Howard is offline   Reply With Quote
Old 23 Sep 2010, 05:50 PM   #52
Jeremy Howard
Ultimate Contributor
 
Join Date: Sep 2001
Location: Australia
Posts: 11,501
Something has changed at FM, and international chars are now broken again. If you use the sync tool, you will find any field with international chars changed to "System.Byte[]", which isn't very helpful! I've asked Rob to take a look, and will report back when it's sorted out.
Jeremy Howard is offline   Reply With Quote
Old 24 Sep 2010, 06:15 PM   #53
rabarberski
Master of the @
 
Join Date: Nov 2006
Location: Ghent, Belgium
Posts: 1,027
I am a bit late in the game, but this is great!
I've tried it and seems to work without problems (apart from the known []Byte bug you describe above)

One feature request: would it be possible to ignore certain FM contact groups (e.g. specifi.ed as a list of comma separated strings)? I have a 'safe list' group in my FM address book to whitelist certain addresses, and there is no point for me to sync them.

Last edited by rabarberski : 24 Sep 2010 at 06:42 PM.
rabarberski is offline   Reply With Quote
Old 24 Sep 2010, 06:17 PM   #54
Jeremy Howard
Ultimate Contributor
 
Join Date: Sep 2001
Location: Australia
Posts: 11,501
Quote:
Originally Posted by rabarberski View Post
One feature request: would it be possible to ignore certain FM contact groups (e.g. specifi.ed as a list of comma separated strings)? I have a 'safe list' group in my FM address book to whitelist certain addresses, and there is no point for me to sync them.
That is possible - although I probably won't initially have a UI to choose which groups to ignore, but instead require you to use a particular group name (e.g. "Ignore").

I heard back from Rob today - he said he'd look into the Byte[] issue early next week.
Jeremy Howard is offline   Reply With Quote
Old 24 Sep 2010, 06:36 PM   #55
rabarberski
Master of the @
 
Join Date: Nov 2006
Location: Ghent, Belgium
Posts: 1,027
For quick access to syncing your address book, you can add a sync link to the top right fastmail page using this javascript tweak (see the wiki for details on javascript tweaks):

Code:
/* Put sync address book link in the header */

window.addEvent('domready', function() {
  twkSyncStr = "<a target='_blank' href=http://sync.howard.fm/Home/Sync> Sync addresses </a>" ;
  $('admin').innerHTML = twkSyncStr + "<b> | </b>" + $('admin').innerHTML ;
});
For an example of how it looks, see here.

This code directly calls the sync function (provided you let the sync website remember your logon details). To only go to the sync logon page, remove the /Home/Sync from the URL.

Last edited by rabarberski : 24 Sep 2010 at 06:47 PM.
rabarberski is offline   Reply With Quote
Old 24 Sep 2010, 06:39 PM   #56
rabarberski
Master of the @
 
Join Date: Nov 2006
Location: Ghent, Belgium
Posts: 1,027
Quote:
Originally Posted by Jeremy Howard View Post
That is possible - although I probably won't initially have a UI to choose which groups to ignore, but instead require you to use a particular group name (e.g. "Ignore").
Your solution would be fine with me as well, although I would suggest to use a more descriptive name like SyncIgnore or similar to make the intention of the group unambiguous (and prevent collisions with other users' existing group names).
rabarberski is offline   Reply With Quote
Old 26 Sep 2010, 03:58 AM   #57
CyberDyne
Master of the @
 
Join Date: Sep 2004
Posts: 1,583
Sync worked pefectly here first time.
CyberDyne is offline   Reply With Quote
Old 26 Sep 2010, 04:03 AM   #58
CyberDyne
Master of the @
 
Join Date: Sep 2004
Posts: 1,583
Quote:
Originally Posted by rabarberski View Post
This code directly calls the sync function (provided you let the sync website remember your logon details). To only go to the sync logon page, remove the /Home/Sync from the URL.
Personally, with the /Home/Sync still in place, I still have to hit 'Sync' - which is not a problem, just FYI.
CyberDyne is offline   Reply With Quote
Old 27 Sep 2010, 06:52 PM   #59
Jeremy Howard
Ultimate Contributor
 
Join Date: Sep 2001
Location: Australia
Posts: 11,501
The bug with international chars showing as 'Byte[]' should now be fixed. That should be the last remaining bug - all that remains before declaring it ready for beta testing is adding automatic sync and some error handling (either by sending error summaries via email, or by having a View Log screen in the sync web interface). I may also add the ability to ignore a group - time depending.
Jeremy Howard is offline   Reply With Quote
Old 29 Sep 2010, 02:48 AM   #60
rabarberski
Master of the @
 
Join Date: Nov 2006
Location: Ghent, Belgium
Posts: 1,027
Quote:
Originally Posted by Jeremy Howard View Post
The bug with international chars showing as 'Byte[]' should now be fixed. That should be the last remaining bug - all that remains before declaring it ready for beta testing is adding automatic sync and some error handling (either by sending error summaries via email, or by having a View Log screen in the sync web interface). I may also add the ability to ignore a group - time depending.
great, nice to see the quick follow-up !
rabarberski is offline   Reply With Quote
Reply



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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 05:51 AM.

 

Copyright EmailDiscussions.com 1998-2022. All Rights Reserved. Privacy Policy