Sha256: e7a5a65b352c67354eeaba6c9227988e5165ee2eb7ae06b1719c6de2182a0ba4

Contents?: true

Size: 657 Bytes

Versions: 3

Compression:

Stored size: 657 Bytes

Contents

require 'marketingcloudsdk'
require_relative 'sample_helper'

begin
	myclient = MarketingCloudSDK::Client.new auth
	
	EmailIDForSendDefinition = "3113962"
	ListIDForSendDefinition = "1729515"
	SendClassificationCustomerKey = "2239"
	
	# Call SendEmailToList
	response = myclient.SendEmailToList(EmailIDForSendDefinition, ListIDForSendDefinition,SendClassificationCustomerKey)
	p 'Response Status: ' + response.status.to_s
	p 'Code: ' + response.code.to_s
	p 'Message: ' + response.message.to_s	
	p 'Results Length: ' + response.results.length.to_s
	p 'Results: ' + response.results.to_s
	
rescue => e
	p "Caught exception: #{e.message}"
	p e.backtrace
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
sfmc-fuelsdk-ruby-1.3.1 samples/sample-SendEmailToList.rb
sfmc-fuelsdk-ruby-1.1.0 samples/sample-SendEmailToList.rb
dragostsesdk-1.1.0 samples/sample-SendEmailToList.rb