Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--#include file="aspjson/aspJSON1.17.asp" -->
- <%
- Set oJSON = New aspJSON
- With oJSON.data
- .Add "response", "sent"
- End With
- whoto =request.QueryString("whoto")
- message = request.QueryString("msg")
- from = request.QueryString("from")
- address = ""
- if whoto = "Brandon" then
- address="7574353608@vzwpix.com"
- end if
- if whoto = "Nick" then
- address="75743501272@vzwpix.com"
- end if
- if whoto = "Drew" then
- address="7574354942@vzwpix.com"
- end if
- if whoto = "Jamie" then
- address="7574175543@vzwpix.com"
- end if
- if whoto = "Storm" then
- address="7574493218@vzwpix.com"
- end if
- if whoto = "Mike" then
- address="7574487567@vzwpix.com"
- end if
- if address <> "" then
- SET myMail = CreateObject("CDO.Message")
- myMail.Subject = "test"
- myMail.From=from
- myMail.To=address
- myMail.HTMLBody=message
- myMail.Send
- set myMail=nothing
- end if
- Response.Write oJSON.JSONoutput()
- %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement