| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Jan 2004
Posts: 365
|
emailing an image
I have the following code as part of a send.asp file <!-- #include virtual="/includes/adovbs.inc" --> <% ' Construct and send email Dim oMail Set oMail = server.CreateObject("MEMail.Message") oMail.MailFrom = Request.Form("email_address") oMail.MailFromDisplayName = Request.Form("email_address") oMail.ContentType = "text/plain;" oMail.MailTo = "info@hypelondon.co.uk" oMail.Subject = "New Model Registered on Rascals" oMail.MessageBody = "This person has just registered with Rascals and their details are as follows:" & VbCrLf & _ "firstname: " & Request.Form("firstname") & VbCrLf & _ "surname: " & Request.Form("surname") & VbCrLf & _ "Height: " & Request.Form("height") & VbCrLf & _ "Bust: " & Request.Form("bust") & VbCrLf & _ "Waist: " & Request.Form("waist") & VbCrLf & _ "Hips: " & Request.Form("hips") & VbCrLf & _ "Eye Colour: " & Request.Form("eye_colour") & VbCrLf & _ "Hair Colour: " & Request.Form("hair_colour") & VbCrLf & _ "Shoe Size: " & Request.Form("shoe_size") & VbCrLf & _ "Email: " & Request.Form("email_address") & VbCrLf & _ "Telephone: " & Request.Form("telephone") & VbCrLf & _ "Age: " & Request.Form("age") oMail.SendMessage Response.Redirect("register2.asp?id=" & MEntityID) %> if I wanted the user to email a photo as well and it send the above details and the photo to an email address what would I need to add to the above script |
|
|
|
|
|
#2 (permalink) |
|
Senior Member
Join Date: Mar 2005
Posts: 567
|
I haven't done it myself... but I'm almost certain that you'd need to install additional software on your server to support sending attachments... If you're not running your own server, check with your hosting company to see if they have something installed that would support it... |
|
![]() |