http://www.perlmonks.org?node_id=889521


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

I recently switched to using Google as my primary mail server, and had to revisit this problem (as well as making it work with IMAPS, and dealing with GMail's dislike of Mail::Box::Search::Grep)

So I added some options to make deal with all of this, for instance...

iphonenote.pl -c --opts type=imaps \ --opts server_name=imap.gmail.com \ --opts username=you@gmail.com \ --opts password=s3cr3t -f Notes < note.txt OR iphonenote.pl -c --gmail \ --opts username=you@gmail.com \ --opts password=s3cr3t < note.txt