2011-08-28 28 views

回答

3

看那SendGrid API ..

REST GET請求:

https://sendgrid.com/apiv2/reseller.account.json?api_user=username&api_key=secureSecret&task=overview&[email protected] 

來源:AccountOverview API

將返回類似:

<result> 
    <overview> 
    <reputation>100</reputation> 
     <requests>50000</requests> 
     <package>Silver Package</package> 
     <credits_allowed>50000</credits_allowed> 
     <credits_used>100000</credits_used> 
     <credits_remain>0</credits_remain> 
     <credits_overage>50000</credits_overage> 
     <billing_start_date>2010-08-30</billing_start_date> 
     <billing_end_date>2010-09-29</billing_end_date> 
     <billing_process_date>2010-09-30</billing_process_date> 
    </overview> 
</result> 

(由於鏈接錯誤的API頁面而被編輯)。

1

我發現的最簡單的方法是在Heroku上的應用程序中單擊SendGrid加載項。主屏幕會告訴你今天發送了多少封電子郵件。如果你點擊「電子郵件活動」標籤,你可以看到所有發送的電子郵件。

相關問題