레이블이 Web인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Web인 게시물을 표시합니다. 모든 게시물 표시

2008년 4월 30일 수요일

[스크랩] Gmail Tips

원본 URL: http://www.work.caltech.edu/ling/tips/gmail.html

Gmail Tips

Secure Gmail

Gmail offers an SSL-encrypted login (https) by default. After login, it switches back to the insecure http. Users of Mozilla Firefox can install the Secure Gmail script * to ensure Gmail uses the secure connection. Alternatively, try the CustomizeGoogle extension.

* You need the wonderful Greasemonkey extension for Firefox. See also Firefox tips.

[back to top]

Gmail Loader Enhanced

GMail Loader (GML) is a utility designed by Mark Lyon that can upload your (old) emails into Google's Gmail. As wonderful as it is, it suffers from two main problems.

  • If during the uploading process Google resets the SMTP connection for some reason, GML doesn't resend the interrupted emails. You have to pick them out later, manually, and resend them, which is annoying.
  • Gmail is famous for organizing emails into tidy conversations. The emails in a conversation are usually sorted by their received time. For instance, if both you and your friend reply to a conversation and Google gets your email first, your email will be listed earlier than your friend's, even if your friend might have sent the email earlier than you. This ordering rule is also in effect when uploading old emails. If emails are stored in a random order in your mailbox, they also appear randomly in the Gmail conversation.

To fix these two problems as well as some minor ones, I modified the source code provided by Mark. The modified source code can be found here: Please don't ask me for a Windows EXE version -- I don't know how to compile Python codes on Windows.

I have already sent patches to Mark. Before he releases his next version, I will host my version in case others need it.

Here are explanations to my modifications: [showhide]

  1. Sort emails according to the Date field.
    Emails in a gmail conversation are usually sorted by their received time. If emails are stored unsorted in the mailbox (which might happen when you move emails around different folders, say, in Mozilla), they will not appear chronologically within a conversation. This is not nice. So I added a step to sort emails before sending them. The time, including the time zone information, is converted using getdate_tz and mktime_tz, the latter was copied from Python's rfc822 package.
  2. Resend emails if a failure happens.
    Gmail server is busy. Sometimes it resets the connections just because its load is too high. If this happens, we have to pick out failed emails and resend them later, which is annoying. So I modified the code to let GML automatically resend the email if a failure happens. However, I was lazy to check the failure type---if the failure is unrecoverable, say, wrong attachment type, the resend will give up after 9 times.
  3. Give Date information when failure.
    I found that when I had many emails in a mailbox, it is very difficult to locate the erroneous emails when I only know the senders. So I put the Date also in the error output.

[back to top]

Logical Operations in Gmail Search

When searching in Gmail, you can use logical operations like AND, OR, and/or NOT to make your search more accurate.

AND: Use nothing or capitalized "AND".

To search emails containing terrorist and Bush, use terrorist Bush or terrorist and Bush.

OR: Use braces ({ and }) or capitalized "OR".

To search emails from Bush or Chimp, use From: {Bush Chimp} or From: (Bush OR Chimp).

NOT: Use hyphen (-) before the excluded string.

Say you have created the labels Smart, Good, and Bush. To search emails with labels Smart and Good but not Bush, use label:smart label:good -label:bush.

Grouping: Use parentheses (( and )).

To search emails having party, or both hiking and Sunday, use {party (hiking Sunday)} or party OR (hiking Sunday).

[back to top]

Periods and Pluses in Usernames

Periods (.) in Gmail usernames are not important. For example, first.last@gmail.com or firstlast@gmail.com are actually the same. Try to send emails to your own Gmail address with and without periods and you will get all of them.

The +detail suffix can also be used with your Gmail username. For example, if your gmail username is yourname, you can use yourname+someweb@gmail.com with some web registration. When you see spam emails through this address, you will know that it was someweb that discloses your contact information.

[back to top]

[스크랩] Jajah 버튼으로 블로그에 전화를 달자

원본 URL: Jajah 버튼으로 블로그에 전화를 달자

 

Web-Activated Telephony를 표방하는 Jajah에서도 드디어 블로그를 비롯한 소셜네트워킹 서비스에 바로 전화를 걸 수 있는 jajah Button 서비스를 오픈했다. 이 서비스가 오픈되기 전에는 jajah 서비스를 이용하기 위해서는 홈페이지를 방문해야 했는데, Jajah Button 서비스를 통해 자신의 블로그 또는 웹페이지에 방문자가 자신에게 바로 전화를 걸 수 있는 버튼을 만들 수 있는 방법이 생긴 것이다.

이 것은 지난 번에 본 VoIP on Web2.0에서 소셜네트워킹서비스(SNS: Social Networking Service)에 자신의 번호를 공개하지 않고 방문자로부터 실시간 음성으로 통신할 수 있는 방법에 대한 것과 일맥상통하는데, Jajah에서도 본격적으로 SNS VoIP 시장에 뛰어들었다고 보는 것이 맞는 듯 하다.

필자도 아래와 같이 직접 버튼을 만들어봤는데, 지금까지 본 블로그에서 이야기했던 Availability(통화가능시간)이 적용된 첫 서비스로 보인다.

이건 플래쉬로 만든 것으로 이 버튼 내에서 모든 서비스를 해결할 수 있다.

이것은 이미지인데, 해당 버튼을 클릭하면 아래 링크의 웹페이지로 이동해서 서비스를 이용할 수 있다.

http://www.jajah.com/mushman

위 링크는 HTML 코드를 삽입할 수 없는 곳에 이용할 수 있는데, 웹페이지로 이동해서 바로 전화를 할 수 있다.

위 의 링크를 자신의 블로그/웹페이지에 달기 위해서는 Jajah에 회원가입을 해야 한다. 회원가입 후 로그인을 하면 아래와 같이 나오는데, My Jajah Button 탭을 선택한 후 Create a new Jajah Button을 누른다.

아 래는 버튼의 형식 및 크기/언어 등을 선택할 수 있는 옵션이다. 위에서 살펴본대로 Flash/Image/Link의 형식을 선택할 수 있으며, Flash의 경우 크기를 지정할 수 있다. 마지막으로 언어를 선택하는데 현재 한국어도 지원하고 있다.

아 래는 웹버튼을 게시하는 사람의 전화번호 및 통화가능시간을 설정하는 화면이다. Jajah에 회원가입할 때 자신의 번호를 집/회사/이동전화 등 세가지를 입력할 수 있는데 여기서 그 중 하나를 정한다. 통화 가능 시간 및 통화가능 요일까지 정할 수가 있어서 낯선 방문자로부터 오는 통화를 게시자가 나름대로 제어가 가능하다. 이 기능은 지난 번에 살펴봤던 Skype Me 버튼이나 Jaxtr 등에서는 아직 제공하지 않는 것으로, 게시자의 Privacy를 최대한 보장해주는 장점이 있다.

아래 옵션은 전화를 거는 사람에 대한 제한 정책인데, Jajah의 과금정책과 관련이 깊다. Jajah의 경우 다소 복잡한 요금 구조를 가지고 있고 전화를 거는 사람이 돈을 내는 구조이다. 즉, Jajah버튼을 다는 사람은 전화를 받는 입장이기 때문에 거는 사람의 입장을 고려해서 셋팅을 할 수 있도록 되어 있는 것이다. 예를 들어 한국유선에서 한국 무선(필자는 현재 모바일로 해 둔 상태이다)으로 전화를 거는 경우에는 24.9센트가 과금된다. 한국유선에서 유선으로 전화를 걸고 모두가 Jajah유저라면 공짜 통화를 할 수 있다. 블로그를 방문해서 전화를 거는 사람에게 게시자의 전화번호(유무선유무, 국가 등)가 공개되지 않기 때문에 발신자를 배려하는 차원에서 착신자가 이런 옵션을 설정할 수 있도록 해 둔 것으로 보인다.

위 글이 잘못 되었군요..Jajah의 일반 서비스는 거는 쪽(발신자)가 돈을 내는데, 이번에 론칭한 Jajah Button의 경우 착신자(게시자)가 돈을 내는 구조이다. 위 설명 내용 중 요금과 관련된 부분은 맞는데.. 돈을 내는 주체가 게시자이기 때문에 아래와 같은 옵션을 통해 통제를 하는 것으로 보인다. 돈을 내는 주체 부분에 대한 명확한 설명이 없어서 잘못 설명되었다. 다른 분이 제 블로그에 달린 버튼을 통해 전화를 주신 덕에 빨리 발견하게 되었군요..

 

위 과정이 모두 끝나면 블로그에 삽입할 수 있는 HTML 코드를 얻을 수가 있고, 원하는 곳에 버튼을 게시해두면 블로그 방문자로부터 전화를 받을 수 있게 되는 것이다. 일단 필자도 이 글 외에 본 블로그 우측 사이드바 상단에 버튼을 게시해뒀는데, 혹시 궁금한 점이 있으면 전화 걸어 주시기 바란다.

Jaxtr가 Facebook에 서비스를 오픈한지 꽤 된걸 감안한다면 jajah button 서비스 출시는 늦은 감이 없지 않지만, 이전에 나온 SNS를 겨냥한 VoIP 서비스에 비해 진일보한 것으로 평가된다. 특히 발신자의 요금 부담을 고려하고, 버튼 게시자의 프라이버시를 보호하려는 노력은 향후 모든 사업자의 귀감이 될 것으로 예상된다.

본 블로그내의 VoIP to SNS와 관련된 글은 아래를 참고하시기 바란다.

  • 한국형 SNS에 VoIP를 적용해 보자
  • Calling to SNS(3) : Facebook에서 Skype 이용하기
  • Calling to Social Networks(2) : Jangl.com
  • Calling to Social Networks, VoIP의 새로운 대안이 될 것인가?
  • 페이스북용 VoIP 서비스 봇물

    Technorati 태그: VoIP , SNS , Jajah , Jajah button , blog , Skype , Jaxtr , jangl

  • 2008년 4월 28일 월요일

    [스크랩] Outlook에 저장된 메일을 gmail로 Import 하는 방법

    How to Import Archived Outlook Email Into GMail Using GML

    You want to switch completely to Gmail, but you want all your email in one place? Gmail's robust searching functionality is a great feature, but only if you can search through all your email in one place and not just the email you have received since you switched. Follow these instructions to import your archived or saved email from Outlook into your Gmail account.

    Note: This method is now no longer necessary since GMail has an IMAP interface. Here is a good guide for importing all mail from Lotus notes, Outlook, Pine, Thunderbird, and Outlook Express into Gmail.

    Simplest method IMO I think I've found an even simpler way to get my old email into Gmail that does NOT entail installing all kinds of apps and servers to move mail around and jump through multiple steps. All it entails is having an IMAP capable email client. Try this method instead.

    [edit] Steps

    1. Import your Outlook mailbox into Microsoft Outlook Express. Open Outlook, then open Outlook Express. In Outlook Express, select Tools > Import, and instruct it to import Mail from Outlook.
    2. Download and install Mozilla Thunderbird, an open source replacement for Outlook from the people who make Firefox. Be sure during the installation process to have Thunderbird import your mail from Outlook Express. Installing Thunderbird allows extraction of your old mail from Microsoft's proprietary (and difficult) PST file format into a more open mBox file. While Thunderbird offers the option to import mail directly from Microsoft Outlook, the data is less likely to get corrupted if you add the intermediate step of importing to Outlook Express.
    3. Download and install the free, open source program Google GMail Loader (GML) by Mark Lyon. (please note Google does not like it when people run scripts on their accounts - so be careful)- here is an alternative method.

    4. Google GMail Loader
    5. Open GML loader.
    6. Select the find button under Configure Your Email File, and browse your hard drive to locate the mail file for Thunderbird. To locate your Profile folder, follow these instructions from Mozilla. Note if the Application Data file does not appear where it is supposed to, open the folder it should be located in and instruct Windows to display hidden files. It should now appear.
    7. Select and highlight the individual folder of mail you wish to import into GMail. Note: each mail folder appears twice - once with extension .msf and once without an extension. Select the item without an extension.
    8. Open your GMail account and, if possible, clean out your inbox. All the archived mail you import will come into your inbox. Once it does, you will want to select it all and archive it. It will be much simpler to do this without archiving emails you don't want archived if you clean out your email box. Alternatively, you can tag all current emails with a tag, so they can be easily located in the archives and returned to the inbox later.
    9. Choose the File Type in GML. There are two options for mBox files. If you try with the more strict option and GML finds 0 messages in your file, change to the Less Strict mBox option on File Type and try again.
    10. Choose the message type. Messages imported from your Sent Items folder can be sent to the Sent Items folder in GMail. However, they will also appear in your inbox, where you will then want to delete them. All other messages will be sent to the inbox, and from there you can select them and archive them.
    11. Enter your GMail address.
    12. Fill in the correct SMTP server name: the program defaults with a google SMTP server, but according to the software developer this default name does not work. See instructions on the Google Gmail Loader site.
    13. Click the Send to GMail button in GML and monitor the send process. If you have thousands of emails, it could take hours to import.
    14. Open your GMail account and review the progress as GML imports your messages.
    15. As your messages are being imported, they can be archived from the inbox (or deleted from the inbox for Sent Mail only). To archive, click the All link in Gmail to select all, then press Y to Archive. (Keyboard shortcuts must be turned on from your Settings menu). This will archive the 50 most recent messages. Repeat until all messages have been archived. If you are processing sent mail, a copy has been placed directly into your Sent Mail folder, so you can select All and then click the Delete button to delete the most recent 50.

    [edit] Tips

    • Instead of cleaning out all current emails before the import, set a new filter to tag all new incoming mails from the SMTP mail address.
    • Break your Outlook email folders into ones with approximately 1,000 messages each. Occasionally GML Loader hangs in the middle of a folder, if it's a smaller folder it's much faster to reload it.
    • If you load the same message twice, GMail only stores it once. So if you restart GML Loader with a file you have sent before because it got interrupted, GMail will only store the new mail you upload.

    [edit] Warnings

    • Unfortunately, this process changes the time information. The timestamp in the inbox will be the time the message was received by Google. Inside the message, the original date will be displayed. You can search for parts of dates to retrieve matching messages. "Aug 94", for instance, will show you all messages from August of 1994.
    • A method that lets you keep your time stamps documented on Ben Shoemate's website. link
    • If the displayed times are important, you could (1) temporarily set up a mail server with POP3 and IMAP protocols (such as Macallan Mail Solution Mail Server) on your computer, (2) drag and drop mails from archive folders into the mailbox using any mail client that supports IMAP, and (3) connect to the mailbox from GMail using the POP3 protocol to download the mails. This will retain the date stamps, although it needs you to be a bit more tech savvy and have an ISP that will allow the traffic.
    • GMail Loader is not sanctioned by Google and in theory may result in the suspension of your Gmail account. However, there have been no actual reports of suspensions.

    [edit] Things You'll Need

    • GMail account
    • Mozilla Thunderbird
    • Google GMail Loader

    [edit] Related wikiHows

    [edit] Sources and Citations