I am using the Jmail form setup from www.brainjar.com. All is working great, however, does anyone know how to add a subject line to the email being sent? I tried adding subject = "Service Request" with no luck. Thanks
where Mailer is the name of the JMail object you created. function SendEmail(myAddresses,mySubject,myMailMessage,myPriority) Set Mailer = Server.CreateObject("JMail.SMTPMail") Mailer.Sender = "[email protected]" Mailer.ServerAddress = "localhost" myAddressArray = Split(myAddresses,",") for i = 0 to Ubound(myAddressArray) Mailer.AddRecipient myAddressArray(i) next Mailer.Subject = mysubject Mailer.Body = myMailMessage Mailer.Priority = myPriority end function