Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with Text file attachment

Former Member
0 Likes
740

Hello All,

I am sending data from my program via mail in an attachment of text format in 4.6C. But the format of the data in the attachment is not correct. There is no line break in the data.

I've tried putting the line break manually by using hexadecimal code '09' as the line break. But it is not working.

Kindly suggest.

Thanks

6 REPLIES 6
Read only

Former Member
0 Likes
705

Thank you. Problem solved

Read only

Former Member
0 Likes
705

The file has one more problem. The data is now in the next line. But the data in the next line is printed after a large number of spaces whereas the first line begins from the starting of the file.

Thank you

Read only

0 Likes
705

Well, you marked the problem solved without identifying the issue for soemone else to benefit later on. So, why do you expect someone to still help you???

If you expect to receive help, then you need to provide help. It works both ways...

Edited by: Brad Bohn on Dec 28, 2010 11:23 AM

Read only

0 Likes
705

Hello Brad,

I marked the problem as solved previously because the issue of all the lines coming together was solved.

So, I marked the question as solved.

Now, I have a different problem and rather than creating a new thread I opened this one only.

Thank you

Read only

0 Likes
705

Right, and you didn't paste the resolution so that someone else might benefit. My comment stands...

Read only

0 Likes
705

Yes I didn't paste the code for the resolution as the issue wasn't there. There was some problem with my server. I again executed it and it worked.

But If somebody needs the information for how a file needs to be sent as an attachment , I can give the details.

Thank you