Sha256: caa342be364608e46255aee9f47bb402e8be633fbbb43a3ca8961f11acf45420
Contents?: true
Size: 637 Bytes
Versions: 2
Compression:
Stored size: 637 Bytes
Contents
require 'fuelsdk' require_relative 'sample_helper' begin myclient = FuelSDK::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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
marketingcloudsdk-1.0.0 | samples/sample-SendEmailToList.rb |
fuelsdk_json_bump-0.0.5 | samples/sample-SendEmailToList.rb |