Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Manipulate iPhone 'Notes' folders

by hossman (Prior)
on Jul 27, 2010 at 18:59 UTC ( #851588=note: print w/ replies, xml ) Need Help??


in reply to Re: Manipulate iPhone 'Notes' folders
in thread Manipulate iPhone 'Notes' folders

Personally, i run the script on my Mail server (using the local mailboxes) and only the iPHone deals with the notes via IMAP

That said: i just tried it over IMAP, and it looks like Mail::Box::Manager may have a bug dealing with usernames that contain an "@" character. You should be able to URL escape the "@" symbol in the username, such that these properties...

  • user: yourname@maildomain.tld
  • pass: my$ecret
  • imap server: imap.domain.tld
  • port: 6789
  • folder: Notes

...become this url: imap://yourname%40maildomain.tld:my%24ecret@imap.domain.tld:6789/Notes

But apparently Mail::Box::Manager can't deal with having a port and a password in that URI (even though that's what it's docs say to do). It fails with an error that "yourname" isn't a valid hostname

My guess is only the "URL parsing" logic in Mail::Box::Manager is broken, you could probably customize the script to make it take in distinct user/pass/server/port params for IMAP and construct the folder programaticly


Comment on Re^2: Manipulate iPhone 'Notes' folders
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://851588]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-07-10 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (214 votes), past polls