Last active
August 30, 2020 05:57
-
-
Save googya/e52e4407536bb463a0ce9760e81ff885 to your computer and use it in GitHub Desktop.
Revisions
-
googya revised this gist
Apr 15, 2020 . No changes.There are no files selected for viewing
-
googya created this gist
Apr 15, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ ### sending mail using sendcloud ```ruby response = RestClient.post "http://api.sendcloud.net/apiv2/mail/send", :attachments => File.new('all.sql','rb'),:apiUser => 'metalist',:apiKey => 'key',:from => "[email protected]",:fromName => "noname",:to => "[email protected]",:subject => "users assets",:html => 'users assets: attachments' ```