multipart/form-data 的数据包要怎么构造?
用inet可以提交么?
'tHead = "POST /cgi-bin/compose_send?sid=" & tsid & " HTTP/1.1" & vbCrLf
'tHead = tHead & "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*" & vbCrLf
'tHead = tHead & "Referer: http://tel.exmail.qq.com/cgi-bin/readtemplate?sid=CknoDtOREgbixVkJ,7&t=compose&s=cnew&loc=frame_html,,,21" & vbCrLf
'tHead = tHead & "Accept -Language: zh-cn" & vbCrLf
tHead = tHead & "Content-Type: multipart/form-data; boundary=---------------------------7ddea11901a2"
'tHead = tHead & "UA-CPU: x86" & vbCrLf
'tHead = tHead & "Accept -Encoding: gzip , deflate" & vbCrLf
'tHead = tHead & "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)" & vbCrLf
'tHead = tHead & "Host: tel.exmail.qq.com" & vbCrLf
tData = "-----------------------------7dd251191901a2" & vbCrLf
tData = tData & "Content-Disposition: form-data; name=""mailtype""" & vbCrLf
tData = tData & "-----------------------------7dd251191901a2" & vbCrLf
tData = tData & "-----------------------------7dd251191901a2--" & vbCrLf
Inet1.Execute "http://tel.exmail.qq.com/cgi-bin/compose_send?sid=" & tsid, "post", tData, tHead