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
'sender' => array( | |
'name' => 'message', | |
'address' => 'message@pioneerly.com', | |
'reply_to' => 'test@pioneerly.com', | |
) | |
/* or maybe this */ | |
'sender' => array( | |
'address' => 'message@pioneerly.com', | |
'reply_to' => 'test@pioneerly.com', |
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
<?php | |
require 'sendwithus_php/API.php'; | |
$API_KEY = 'THIS_IS_A_TEST_API_KEY'; // <-- API key from the "API Settings" in the | |
$options = array( // sendwithus dashboard goes here | |
'DEBUG' => true // For testing purposes, this can be disabled later. | |
); | |
$api = new API($API_KEY, $options); |
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
<table bgcolor="#9574a3" border="0" cellpadding="0" cellspacing="0" height="37" width="100%"> | |
<tbody> | |
<tr> | |
<td align="left" class="" style="padding: 0px 0px 0px 18px; font-size:14px; line-height:22px; color:#fff; text-transform:uppercase; font-weight:bold; font-family: century gothic, Arial, Helvetica, sans-serif" width="411px">Item</td> | |
<td align="center" class="" style="padding: 0px 0px 0px 0px; font-size:14px; line-height:22px; color:#fff; text-transform:uppercase; font-weight:bold; font-family: century gothic, Arial, Helvetica, sans-serif" width="94px">Quantity</td> | |
<td align="center" class="" style="padding: 0px 0px 0px 0px; font-size:14px; line-height:22px; color:#fff; text-transform:uppercase; font-weight:bold; font-family: century gothic, Arial, Helvetica, sans-serif" width="94px">Ship Date</td> | |
</tr> | |
</tbody> | |
</table> | |
<table border="0" cellpadding="0" cellspacing="0" width="100%"> |
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
{ | |
"customer": { | |
"Name": "Charlie" | |
}, | |
"worker": { | |
"Name": "Worker Charlie" | |
} | |
} |
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 'sendwithus_ruby_action_mailer' | |
module SomeModule | |
class Notifier < SendWithUsMailer::Base | |
def welcome | |
mail( | |
email_id: 'tem_RpQWPHNNuUoekvKEPEo', | |
recipient_address: 'moore.dylan@gmail.com', | |
from_name: 'Wut', |
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
import java.util.HashMap; | |
import java.util.Map; | |
import com.sendwithus.SendWithUs; | |
import com.sendwithus.SendWithUsSendRequest; | |
import com.sendwithus.exception.SendWithUsException; | |
import com.sendwithus.model.DeactivatedDrips; | |
import com.sendwithus.model.Email; | |
import com.sendwithus.model.SendReceipt; |
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></head> | |
<body> | |
<h2>Keys</h2> | |
<ul> | |
{% for key in items %} | |
<li>{{ key }}</li> | |
{% endfor %} | |
</ul> | |
<h2>iteritems</h2> |
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 'send_with_us' | |
begin | |
obj = SendWithUs::Api.new( api_key: 'API KEY', debug: true ) | |
puts Time.now.to_i | |
customer_data = {:FirstName => "dylan"} | |
result = obj.customer_create("dylan@someplace.com", customer_data) | |
puts result |
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
{ | |
"firstname": "David", | |
"lastname": "Lee" | |
} |
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
<style type="text/css" media="only screen and (max-width: 600px)"> | |
@media only screen and (max-width: 600px) { | |
table[class="container"] .block-grid td { | |
width: 100% !important; | |
} | |
} | |
</style> |
OlderNewer