You can use the following code saved into a file with a .asp extension to test CDONTS functionality:
Set myMail = Server.CreateObject ("CDONTS.NewMail")
myMail.From = "firstname.lastname@example.org"
myMail.To = "nobody@...
You can use the following code saved into a file with a .asp extension to test CDOSYS functionality; CDOSYS is a built-in component in ASP, so utilizing it from your ASP code takes no additional effort on your part.
You can test PHP SMTP functions with the following two examples. The first one is standard SMTP while the second one is SMTP with SSL.
We strongly recommend using an SMTP relay that requires authentication. Sending mail through...