Created
November 11, 2010 15:22
-
-
Save evanfarrar/672627 to your computer and use it in GitHub Desktop.
helps to test the problems around comment by email
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 characters
url = "http://rr.rr.com:3000/email_replies" | |
# response = "curl #{url} -d from='Steve Ellis <[email protected]>' -d [email protected] -d text='testing\n--------------------\nSome Comment\n--------------------\nasdfsa'" | |
response = `curl #{url} -d "from=Steve+Ellis+<[email protected]>" -d html=test -d spf=spf -d to=reply%[email protected] -d "text=foobar--------------------Some Other Comment #{ARGV[0]}--------------------foobar" -d charsets=foo -d dkim=none -d subject=test -d envelope=test -d attachments=attachments` | |
response = `curl #{url} -d "from=Steve+Ellis+<[email protected]>" -d html=test -d spf=spf -d to=reply%[email protected] -d "text=foobar--------------------Some Comment#{ARGV[0]}--------------------foobar" -d charsets=foo -d dkim=none -d subject=test -d envelope=test -d attachments=attachments` | |
puts response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment