This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<feedback> | |
<report_metadata> | |
<org_name>receiver.com</org_name> | |
<email>noreply-dmarc-support@receiver.com</email> | |
<extra_contact_info>http://receiver.com/dmarc/support</extra_contact_info> | |
<report_id>9391651994964116463</report_id> | |
<date_range> | |
<begin>1335571200</begin> | |
<end>1335657599</end> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>{{ page.title }}</title> | |
</head> | |
<body> | |
{% include header.html %} | |
<div class="container"> | |
<article id="content"> | |
{{ content }} | |
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: page | |
weight: 0 | |
title: Python | |
navigation: | |
show: true | |
--- | |
We'll start with a simple example using the built-in Python SMTP libraries to send a message. | |
After that example, you can find more complete instructions that use the SendGrid Python library. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Jekyll | |
require 'haml' | |
class HamlConverter < Converter | |
safe true | |
priority :low | |
def matches(ext) | |
ext =~ /haml/i | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── _config.yml | |
├── _drafts | |
| ├── begin-with-the-crazy-ideas.textile | |
| └── on-simplicity-in-technology.markdown | |
├── _includes | |
| ├── footer.html | |
| └── header.html | |
├── _layouts | |
| ├── default.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'json' | |
require 'nokogiri' | |
require 'nokogiri-pretty' | |
markdown_files = File.join("/docs/source", "**", "*.md") | |
Dir.glob markdown_files do |markdown_file| | |
next if markdown_file == '.' or markdown_file == '..' | |
path = markdown_file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INVALID JSON in source/API_Reference/Customer_Subuser_API/apps.html: | |
"settings":null | |
-------------------------- | |
INVALID JSON in source/API_Reference/Customer_Subuser_API/whitelabel.html: | |
-------------------------- | |
INVALID JSON in source/API_Reference/Marketing_Emails_API/variations.html: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create the email object first, then add the properties. | |
SendGrid myMessage = SendGrid.GetInstance(); | |
myMessage.AddTo("anna@example.com"); | |
myMessage.From = new MailAddress("john@example.com", "John Smith"); | |
myMessage.Subject = "Testing the SendGrid Library"; | |
myMessage.Text = "Hello World!"; | |
string[] categories = new string[3] {"category1", "category2", "category3"}; | |
myMessage.SetCategories(categories); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Jekyll | |
class ApiExample < Liquid::Block | |
def initialize(tag_name, markup, tokens) | |
attributes = markup.split | |
@identifier = attributes[0] | |
@http_method = attributes[1] | |
@url = attributes[2] | |
@data = attributes[3] | |
super |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ack MANDRILL_APP | |
models/email.rb | |
186: user_name: ENV['MANDRILL_USERNAME'], | |
187: password: ENV['MANDRILL_APIKEY'], |