Advertisement
Guest User

Untitled

a guest
May 17th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. var vStSMTPServer = "http://127.0.0.1"
  2. var vObCDOMsg = Server.CreateObject("CDO.Message");
  3. var vObCDOConf = Server.CreateObject("CDO.Configuration");
  4. var vObCDOFlds = vObCDOConf.Fields;
  5.  
  6. // Set the CDOSYS configuration fields to use port 25 on the SMTP server.
  7. //With vObCDOFlds
  8.  
  9.  
  10.  
  11. //--these information are being retrieved from db:
  12.  
  13. vObCDOMsg.Configuration = vObCDOConf;
  14. vObCDOMsg.To = email;
  15. vObCDOMsg.From = frmAddress;
  16. vObCDOMsg.Subject = subject ;
  17. vObCDOMsg.Bcc = bcc
  18.  
  19. //--this is the body
  20.  
  21. var body=
  22. body = "Dear " + salutation + "</td></tr><tr><td style='text-align: justify;'>We are delighted that you will attend the <font color='#000000'>" + eventname + "</font>on <font color='#000000'>" + eventdate + "</font>.<br />&nbsp;<tr><td>You will need to use the <b>Username:</b> <font color='red'>" + username + "</font> and the <b>Password:</b> <font color='red'>" + password + "</font> to gain access.<br />&nbsp;<br />Please ensure that you complete your pre-order by <font color='#000000'>" + deadline + "</font>.<br />&nbsp;<br />a href='http://{hostname}/longh/?username=" + username + "' style='text-decoration: underline;'>Please click here to Sign In.</a>
  23. <br />&nbsp;<br />&nbsp;<br /><b/></td></tr></table></td></tr></table></td></tr></table></body></html>";
  24. vObCDOMsg.AutoGenerateTextBody =false;
  25. vObCDOMsg.HTMLBody=body;
  26.  
  27. <a href="http://zixvpm.infosecpartners.co.uk/?a=2541&m=&n=&s=a800000055267a&u=http%3a%2f%2fwww.eventsummary.com%2flongh%2f%3fusername%3dhtest33%26utm_source%3d%26utm_medium%3demail%26utm_campaign%3dunspecified&t=&e=subratkumar.parichha%40gmail.com&h=d6c5af2e" style="text-decoration:underline" target="_blank" data-saferedirecturl="***https://www.google.com/url?hl=en&q=http://zixvpm.infosecpartners.co.uk/?a%3D2541%26m%3D%26n%3D%26s%3Da800000055267a%26u%3Dhttp%253a%252f%252fwww.eventsummary.com%252flongh%252f%253fusername%253dhtest33%2526utm_source%253d%2526utm_medium%253demail%2526utm_campaign%253dunspecified%26t%3D%26e%3Dsubratkumar.parichha%2540gmail.com%26h%3Dd6c5af2e&source=gmail&ust=1463542862806000&usg=AFQjCNFk6t5OtTcmeIkJzpRDeSGlFTddSw"***>Please click here to Sign In.</a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement