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

In reply to Re^2: Manipulate iPhone 'Notes' folders by hossman
in thread Manipulate iPhone 'Notes' folders by hossman

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":