Email.Body automatically wrapping at 74 characters 
Author Message
 Email.Body automatically wrapping at 74 characters

I am building a CDONTS e-mail by setting the Body Property to some text,
e.g.,
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

But it wraps at the 75th character like the following:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxx

It definitely is not the client I have sent it to different clients and have
the same problem.



Tue, 15 Apr 2003 02:21:28 GMT  
 Email.Body automatically wrapping at 74 characters
I have had success just assigning the message body to a variable Like
MessSub = "Message Text"
then putting it all in one line
email.send ("fromaddress", "toaddress", "messagesubject", cstr(MessSub))
I haven't had it wrap.


Quote:
> I am building a CDONTS e-mail by setting the Body Property to some text,
> e.g.,
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

> But it wraps at the 75th character like the following:
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> xxxxxxxxx

> It definitely is not the client I have sent it to different clients and
have
> the same problem.



Tue, 15 Apr 2003 08:48:28 GMT  
 Email.Body automatically wrapping at 74 characters

(my apologies for the HTML post)...

How are you setting these???

BodyFormat Property (CDONTS NewMail Object)
http://msdn.microsoft.com/library/psdk/cdo/_denali_bodyformat_propert...

MailFormat Property (CDONTS NewMail Object)
http://msdn.microsoft.com/library/psdk/cdo/_denali_mailformat_propert...

--
Michael Harris
Microsoft.MVP.Scripting
--

Quote:

> I am building a CDONTS e-mail by setting the Body Property to some text,
> e.g.,
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

> But it wraps at the 75th character like the following:
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> xxxxxxxxx

> It definitely is not the client I have sent it to different clients and have
> the same problem.



Tue, 15 Apr 2003 09:20:09 GMT  
 Email.Body automatically wrapping at 74 characters

Keith,

I have the same previous problem, tried your idea but get folloing message:

Microsoft VBScript compilation error '800a0414'

Cannot use parentheses when calling a Sub

/framework/HTMLTemplates/404.asp, line 34

"Webmaster - Error 404 en Intranet", txtSubject)

Here's the command I built:

        "Webmaster - Error 404 en Intranet", txtSubject)



Quote:
> I have had success just assigning the message body to a variable Like
> MessSub = "Message Text"
> then putting it all in one line
> email.send ("fromaddress", "toaddress", "messagesubject", cstr(MessSub))
> I haven't had it wrap.



> > I am building a CDONTS e-mail by setting the Body Property to some text,
> > e.g.,

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Quote:

> > But it wraps at the 75th character like the following:
> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > xxxxxxxxx

> > It definitely is not the client I have sent it to different clients and
> have
> > the same problem.



Wed, 16 Apr 2003 03:58:14 GMT  
 Email.Body automatically wrapping at 74 characters
Try changing this to:

Quote:

>         "Webmaster - Error 404 en Intranet", txtSubject)

or to:

Quote:

>         "Webmaster - Error 404 en Intranet", txtSubject

/Al


Quote:

> Keith,

> I have the same previous problem, tried your idea but get folloing
message:

> Microsoft VBScript compilation error '800a0414'

> Cannot use parentheses when calling a Sub

> /framework/HTMLTemplates/404.asp, line 34

> "Webmaster - Error 404 en Intranet", txtSubject)

> Here's the command I built:

>         "Webmaster - Error 404 en Intranet", txtSubject)



> > I have had success just assigning the message body to a variable Like
> > MessSub = "Message Text"
> > then putting it all in one line
> > email.send ("fromaddress", "toaddress", "messagesubject", cstr(MessSub))
> > I haven't had it wrap.



> > > I am building a CDONTS e-mail by setting the Body Property to some
text,
> > > e.g.,

> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

> > > But it wraps at the 75th character like the following:
> > > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > > xxxxxxxxx

> > > It definitely is not the client I have sent it to different clients
and
> > have
> > > the same problem.



Thu, 17 Apr 2003 07:54:13 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Newbie Emailing text file into body of Email

2. How to send emails with line width exceed 74 char long using CDONTS.NewMail object?

3. Preventing line-wrap in text-based emails created through CDONTS

4. Automatically downloading message bodies

5. Textbox wrapping automatically

6. Automatically wrap up the text in textbox

7. Outlook 2000 AppointmentItem .body Japanese Double byte characters

8. MailItem.Body - lines are being split at 72 characters

9. Outlook MailItem.Body - lines are being split at 72 characters

10. Change word-wrap characters?

11. Underlining in body of cross tab report and trimming characters

12. Passing Web Pages as a Body in an email

 

 
Powered by phpBB® Forum Software