Thursday, September 22, 2011

cdosys mail


///*** << cdosys mail >> ***/// :--

----------------------------------

<script language="JavaScript">
<!--
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
<%
Set oMail = Server.CreateObject("CDO.Message")
Set iConf = Server.CreateObject("CDO.Configuration")
Set Flds = iConf.Fields

'Local service (dont change)

iConf.Fields.Update
Set oMail.Configuration = iConf
oMail.From = "tx.gallery@mb21.co.uk"
oMail.Subject = "Subject: "
oMail.TextBody = "Body: just some message"
oMail.Send
Set iConf = Nothing
Set Flds = Nothing
%>
<script language="JavaScript">
MM_goToURL('parent','http://mb21.co.uk/');
</script>

-----------------------------------------------------

No comments:

Post a Comment