View Single Post
Old 09-29-2000, 01:30 PM   #1
artsapimp
Member (10 bit)
 
Join Date: May 1999
Location: Orlando, FL
Posts: 975
Send a message via ICQ to artsapimp
I ended up using a different Email address and having outlook automatically forward all of those emails to the correct box. sloppy, but it works.

I have more problems though. Please help.

Here is my code. I get an email sent to the correct email box but it's empty. No subject, no from, no body, etc. Please help. thanks

Code:
Dim objMail

strMailBody = "A new web application has been requested by " & Request.Form("name")
strMailBody = strMailBody + Chr(13) & Chr(13)
strMailBody = strMailBody + "(URL goes here)."
strMailBody = strMailBody + Chr(13) & Chr(13)
strMailBody = strMailBody + "The approval process should be finished no later than " & Date + 7 & ", Please reply before that time."
strMailBody = strMailBody + Chr(13) & Chr(13)
strMailBody = strMailBody + "Thank you."

Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.From = "Mail"
objMail.To = "(email address is here)"
objMail.Subject = "New Website Request"
objMail.Body = strMailBody
objMail.Send
Set objMail = Nothing
Thank you for any help.
artsapimp is offline   Reply With Quote