להלן דוגמת קוד פשוטה לשליחת מכתבים עבור קוד של ASP קלאסי עם שימוש באובייקט JMAIL
| 1 | dim objMail |
| 2 | set objMail = server.createObject(“JMail.Message”) |
| 3 | with objMail |
| 4 | .from = “[email protected]” |
| 5 | .addRecipient “[email protected]”, “customer name” |
| 6 | .subject = “This is the SUBJECT” |
| 7 | .HTMLBody = “This is the email BODY” |
| 8 | .charset = “utf-8” |
| 9 | .Send( “localhost) |
| 10 | end with |





