% ON ERROR RESUME NEXT dim strFeedBack 'if the contact us form has been submitted then... If Request.Form <> "" Then 'email variables dim objMailer dim strSubject dim strBody dim strRecipientEmail dim strEmail 'Resume Form: 'mandatory dim strResume strResume = Request.Form("Resume") 'set the email address of the person that is to receive the contact us emails strRecipientEmail = "info@vitesse.ca" 'strRecipientEmail = "shaun@greenbutton.ca" 'set the email address of the person that is to sending the contact us emails strEmail = "info@vitesse.ca" 'strEmail = "shaun@greenbutton.ca" 'set the subject attribute of the Mailer object strSubject = "Resumé and Cover Letter" 'get resume strBody = strResume 'begin: using the CDONTS mail object to accomodate Magma's server component limitations Set objMail = server.CreateObject("CDONTS.NewMail") objMail.BodyFormat = 1 'plain text objMail.MailFormat = 0 objMail.From = strEmail objMail.To = strRecipientEmail 'set the subject attribute of the Mailer object objMail.subject = strSubject 'set the body attribute of the Mailer object objMail.Body = strBody objMail.Send 'if an error occured while sending the email then... If err.number <> 0 Then 'set the strFeedBack variable with a message to let the user know that the sending of the email failed strFeedBack = "*** An error occured while sending your resume to Vitesse, please try again later. ***" 'if the email was sent successfully then... Else 'set the strFeedBack variable with a message to let the user know that the sending of the email was a success strFeedBack = "*** Thank you, your resume was successfully sent to Vitesse. ***" End If Set objMail = nothing 'end: using the CDONTS mail object to accomodate Magma's server component limitations End If ON ERROR GOTO 0 %>
" & strFeedback & "
")%><%End If%>Resumé and Cover Letter
You must insert a plain text copy of your resumé in the space below. If this is the first time you are using the online form, please follow the instructions carefully. You may insert a cover letter (also in .txt), if you wish, in the same field as the resumé.
When done, press on "Submit My Resumé".