|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (10 bit)
|
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
|
|
|
|
|
|
#2 |
|
Member (9 bit)
Join Date: Dec 1999
Location: Midland, NC, USA
Posts: 292
|
Try adding
objMail.MailFormat = CdoMailFormatMime objMail.BodyFormat = CdoBodyFormatText before you do the send. |
|
|
|
|
|
#3 |
|
Member (10 bit)
|
Thank you for the reply but I still got an empty email. I am really at a loss with this CDONTS stuff. When reading about it it seems so easy, but I'm about to pull my hair out. Thanks again for any help.
|
|
|
|
|
|
#4 |
|
Member (10 bit)
|
this doesn't make sense....
I have CDONTS on a different portion of the website and it works fine coded like this.
Code:
Set objMail = Server.CreateObject("CDONTS.Newmail")
objMail.From = "NDCMail"
objMail.To = "email..."
objMail.Subject = "New Link Request"
objMail.Body = "'" & strURL1 & "'"
objMail.Send
Set objMail = Nothing
Both email forms work the same. I get a blank email. Any help would be very helpful. Thanks again. |
|
|
|
|
|
#5 |
|
Member (9 bit)
Join Date: Dec 1999
Location: Midland, NC, USA
Posts: 292
|
You've got my email addy. Send me a copy of both pages and I'll take a looky.
|
|
|
|
|
|
#6 |
|
Member (10 bit)
|
I won't be in the office until Monday. I will try to stop in sometime today and get those pages for you, but don't worry about it until Monday. Thanks for any help.
I am looking at JMail right now. Have you used that? http://tech.dimac.net/ |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|