plesk_kit 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/plesk_kit/client.rb +0 -30
- data/lib/plesk_kit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTNkOGJkNWUwNTU3MzEyM2E4ZDk3YTVjMDdmODQ2NzUyZDI1NzdjNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGQyYjYyOTQ4MjMzZmMwZDAxNWU4N2Y2MDkxMjljNzMzZWZkZTc1Ng==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTgxOGYzNzM4NzY2N2ZiYTVhYjJkOTZlOTMzNmMyNDkxY2RiYzFlOTgwMjA4
|
10
|
+
Y2ZkMDM2MWEwMjVjZTc0MTRjZGU0YzliNDUzODU4ODVmZjdkMjkzMDJiNzA0
|
11
|
+
MzllYmRlZGM0OGYwMDAxNzczNzYzNmUxYWFiZjQxNjFmY2Q5NDQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmVhNDQ3OTNmNzJkZjBiMGY2MTFmYWE0NmNkMWNmYmEwMmE2NzBjMjE4MTFh
|
14
|
+
ZDNkNzVhNjNmOWRmMTlmM2I4YWIyODI5NDRjODliMzQ1Yjc1ZmZiYTk1NGUw
|
15
|
+
ZWZlNjcwZjM3OGEwYzZkN2YyY2ExYTQ3MThlNmIwYjg2ZDljY2I=
|
@@ -83,33 +83,3 @@ end
|
|
83
83
|
|
84
84
|
|
85
85
|
|
86
|
-
// Set the headers and message
|
87
|
-
$msgtext = "From: $msgfrom <$msgemail>\n";
|
88
|
-
$msgtext .= "To: $msgto\n";
|
89
|
-
$msgtext .= "Content-Type: text/plain\n";
|
90
|
-
$msgtext .= "Content-Transfer-Encoding: 7bit\n";
|
91
|
-
$msgtext .= "Mime-Version: 1.0\n";
|
92
|
-
$msgtext .= "Subject: $msgsubject\n";
|
93
|
-
$msgtext .= "Date: ".date("D, d M Y H:i:s O")."\n";
|
94
|
-
$msgtext .= "\n";
|
95
|
-
$msgtext .= "$msgbody";
|
96
|
-
|
97
|
-
'SessionType'=>urlencode("REST"),
|
98
|
-
'action'=>urlencode("correspond"),
|
99
|
-
'queue'=>urlencode($queue),
|
100
|
-
'message'=>urlencode($msgtext)
|
101
|
-
|
102
|
-
msgtext = "From: $msgfrom <$msgemail>\nTo: $msgto\nContent-Type: text/plain\nContent-Transfer-Encoding: 7bit\nMime-Version: 1.0\nSubject: $msgsubject\nSubject: $msgsubject\nDate: ''\).\n\n"
|
103
|
-
|
104
|
-
strr="name=blah&subject=blah&body=foo&email=d.saunders@uber.com.au&SessionType=REST&action=correspond&queue=13&message=#{msgtext}"
|
105
|
-
|
106
|
-
|
107
|
-
<form method='POST',action='https://rt.ahq.net.au/REST/1.0/NoAuth/mail-gateway'>
|
108
|
-
<input name='name' value='x'>
|
109
|
-
<input name='subject' value='x'>
|
110
|
-
<input name='body' value='x'>
|
111
|
-
<input name='email' value='d.saunders@uber.com.au'>
|
112
|
-
<input name='queue' value='13'>
|
113
|
-
<input name='message' value='From: $msgfrom <$msgemail>\nTo: $msgto\nContent-Type: text/plain\nContent-Transfer-Encoding: 7bit\nMime-Version: 1.0\nSubject: $msgsubject\nSubject: $msgsubject\nDate: ''\).\n\n'>
|
114
|
-
|
115
|
-
|
data/lib/plesk_kit/version.rb
CHANGED