Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Andy #1
Mail formatting problem
I'm using this code below. It sends the emails ok but none ofthe body
isformatted.
Any ideas?
Thanks
Andy
<%
Dim BodyString
Dim arrFormFields
FormFields = "name~email~message~whereFrom"
If FormFields <> "" Then
arrFormFields = split(FormFields,"~")
End If
Set jmail = Server.CreateObject("JMail.Message")
jmail.AddRecipient "you@work.com", "Andy"
jmail.From = "me@work.com"
jmail.Subject = "jmail test"
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
jmail.HTMLBody = BodyString
jmail.Send( "mxhost-1.vi.net" )
%>
Andy Guest
-
CDO mail formatting issue
Hi, When I set the following for my CDO email, the mail is receievd with the html portion does not appear formatted but just as it is seen below. I... -
Formatting problem
I am having a problem with getting formatting. Users are uploading an excel spreadsheet, which I am trying to parse and insert the data into my... -
Mail:Sender - HTML Mail with alternatives problem
I'm trying to generate an HTML mail with text alternatives using the mail:sender module. As everybody can see below the message was created and... -
E-mail formatting?
When e-mailing invoices and estimates, is there any way to customize the presentation of the e-mail beyond changing the message? Specifically, I'd... -
Need help formatting query for mail()
I want to use mail() to send a message to a group of addresses in a mysql table. Išve got my mail script and my sql query, but I donšt know how to... -
Bren #2
Re: Mail formatting problem
Hi Andy
Could it be the missing parenthesis at the end of your replace statement?
BodyString = Replace("","~",chr(13) & chr(10) )& chr(13))>>BodyString = Replace("","~",chr(13) & chr(10) )& chr(13)
Just a thought.
Regards
Bren
/**********************************************
Why do I climb mountains?
Because they are there!
[url]www.3peakschallenge.co.uk[/url]
*********************************************/
Bren Guest



Reply With Quote

