SlideShare a Scribd company logo
1 of 21
SendGrid
on Job-Hub
大久保英樹(Job-Hub)
自己紹介

大久保英樹
Qiita: Oakbow
Twitter:@oakbow7
クラウドソーシングサービス
Job-Hub
の開発やってます。
Job-Hubの紹介

派遣会社がやってる
クラウドソーシング
サービス
http://jobhub.jp
Job-Hubの紹介

コスプレがテーマのコンテスト(募集終了)。
Job-Hubの紹介

http://jobhub.jp/jobs/1144/competition_proposals/
Job-Hubの紹介
エンジニアカフェという自社サービスのキャラクターも募集しまし
た

http://jobhub.jp/jobs/1148/competition_proposals/
Job-Hubの紹介
かわいいキャラクターが無事誕生(dog fooding)

https://www.facebook.com/pasonatech
Job-Hubの紹介
クーちゃんといいます。
Job-Hubの紹介
横浜市がテーマのアイディア/アプリ コンテスト。

http://jobhub.jp/camp/yokohama-ups/
Job-Hubの紹介
実はこのコンテストのアイコンも募集してました(dog fooding)。

http://jobhub.jp/jobs/2295/competition_proposals/
Job-Hubの紹介
株がテーマのアイディア/アプリ/プロモーション コンテスト

http://www.zusaar.com/event/1247003

http://jobhub.jp/jobs?かぶコン
Job-Hubでの
SendGrid
SendGrid

SendGrid
•Herokuでメール送信するための定番アドオン
•期間に限りがあるけれど、Web上で送信ログを見ることもできます。
•今のところ目立ったトラブルもなく、安定しています。
•Job-Hub では、すべてのメールをdelayed_job経由、非同期処理で送信
しています。
•無料プランでは6000通配信できるので、テスト/ステージング環境でも
大活躍(以前は一日200通だったけど、さらに優しくなったみたい)。

•Job-Hubでは今Bronze(4万通/$9.95)で、そろそろSilver(10万通
/$79.95)かなくらい。
SendGrid

SendGrid
•メールサーバの構築も管理も
ほぼ不要なので、ある意味
MTA(Mail Server)as a
Service, MaaS と言ってもい

いかも。
SendGrid

気を付けること
•DNSのTXTレコードの設定を行う。
dig –t TXT jobhub.jp

nslookup -type=TXT jobhub.jp

•平たく言うと、「俺様はこれこれのドメイン経由でメール送ることがあるよ?」って宣言。
•SendGridはリレーサーバとして機能するので、「jobhub.jp本体から送信されていない
→spamかもしれない」と判断されうる
•TXT(SPF)レコードでこういう宣言をしておくと、spamかどうかの判定材料として参照し
てくれる場合がある。
•携帯キャリアとかはSPFレコードみてるっぽい。
SendGrid

SPFレコードって何?

https://support.google.com/a/answer/33786?hl=ja
SendGrid

できること
•メールを送る
•メールを送る

•メールを送る
•メールを送る
•エラーメールを解析して、メール送信を停止する
SendGrid

Bounces
•メール送信のエラーを解析する機能の実装は結構骨が折れる
⇒MTAによってエラーの返却方法は異なる。基本的に本文の文字列解析す
るしかない。存在するメールアドレスに送ってもUser Unknown返された
りとか結構カオス。
•Spam対策のため、エラー率の高い接続元からの接続を拒否するところも

ある(例:携帯キャリア)
•サービスによっては携帯キャリアへのメールは避けて通れない
•↑対策のリレーサーバサービスもあるけど結構高い。。。
SendGrid

Bounces
•SendGridのエラーメール解析機能は標準で搭載
⇒エラーが2回返ってくるとBounces Listに登録され、対象メールアド

レスに送られなくなる。
⇒メール送信ログでは、「Drop」と記載されるようになる。
•できればBounces Listに登録されるエラーメール回数を変えられるとい
いな(できないよね?)
⇒2回はちょっと早い気がする。3回くらい?
SendGrid

期待してること
•日本語ドキュメント!
⇒API使用して連携できるけど、手を出せていないので日本語ドキュメン

トがあればそのうち・・・
ご清聴ありがとうございました。

Qiita: http://qiita.com/Oakbow/
Job-Hubマガジン: http://mag.jobhub.jp/
Twitter:@oakbow7
Mail:oakbow@jobhub.jp

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

SendGrid on Job-Hub