Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Andy #1
CDO mail error
I've used this code on other sites/servers, but i'm getting this error on
another server i have no control of.
Any Ideas guys/gals ???
This is the error!
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
/contact_us.asp, line 28
This is the code!
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
if Request.Form("FFSubmitted") = "yes" then
Dim BodyString
Dim objCDO
Dim RedirectURL
Dim FormFields
Dim arrFormFields
FormFields = "name~email~message~whereFrom"
If FormFields <> "" Then
arrFormFields = split(FormFields,"~")
End If
Set objCDO = Server.CreateObject("CDO.Message")
objCDO.From = "Online_Enquiry"
objCDO.To = "whatever@whatever.com"
objCDO.Cc = ""
objCDO.Bcc = ""
objCDO.Subject = "Online application form"
BodyString = Replace("","~",chr(13) & chr(10) )& chr(13)
If FormFields <> "" Then
For Each item In arrFormFields
BodyString = BodyString & item & ": " & Request.Form(item) & chr(13)
Next
End If
objCDO.TextBody = BodyString
'objCDO.BodyFormat = 1
'objCDO.MailFormat = 1
objCDO.Send
Set objCDO = Nothing
RedirectURL = "testmail.asp"
If RedirectURL <> "" then
If Request.QueryString <> "" Then
response.redirect(RedirectURL & "?" & Request.QueryString)
else
response.redirect(RedirectURL)
end If
end if
end if
%>
<% MM_EditAction = CStr(Request("URL"))
If (Request.QueryString <> "") Then
MM_EditAction = MM_EditAction & "?" & Request.QueryString
End If
%>
Andy Guest
-
mail.log error
I get the following error when I try to view the mail.log. I'm running MX6.1. "Date" is an invalid date format. The error occurred in... -
mail error
I am using php 4 with apache in windows. I created a form in html with this code: <FORM method="POST" action="do_feedback.php"> <p>your name:... -
mail() error handling
I use mail() for a musician's mailing list script that suddenly started having problems after many months of working flawlessly. The code fragment... -
e-mail error
pat jackson wrote: Contact the folks who run your mail server. -
error on e-mail
0x800ccc6e I got the above error code/message from my computer when I tried to send e-mail after installing a router. I have the right... -
Julian Roberts #2
Re: CDO mail error
I've some code here for CDOSYS
--
Jules
[url]http://www.charon.co.uk/charoncart[/url]
Charon Cart 3
Shopping Cart Extension for Dreamweaver MX/MX 2004
Julian Roberts Guest
-
Andy #3
Re: CDO mail error
Hi Jules
I've looked at your code, how would this look using the form fields for the
body of the email?
Thanks
Andy
"Julian Roberts" <newsg@charon.co.uk> wrote in message
news:d5r2ur$mlo$1@forums.macromedia.com...> I've some code here for CDOSYS
>
> --
> Jules
> [url]http://www.charon.co.uk/charoncart[/url]
> Charon Cart 3
> Shopping Cart Extension for Dreamweaver MX/MX 2004
>
>
>
Andy Guest
-
Andy #4
Re: CDO mail error
What i meant was, how do i get all of the form fileds into the body?
Andy
"Andy" <AndyjhughesNOSPAM@ntlworld.com> wrote in message
news:d5src6$ait$1@forums.macromedia.com...> Hi Jules
> I've looked at your code, how would this look using the form fields for
> the body of the email?
>
> Thanks
> Andy
>
>
> "Julian Roberts" <newsg@charon.co.uk> wrote in message
> news:d5r2ur$mlo$1@forums.macromedia.com...>>> I've some code here for CDOSYS
>>
>> --
>> Jules
>> [url]http://www.charon.co.uk/charoncart[/url]
>> Charon Cart 3
>> Shopping Cart Extension for Dreamweaver MX/MX 2004
>>
>>
>>
>
>
>
Andy Guest



Reply With Quote

