Send outlook mail message problem

yes, the html file opens correctley

@tomaz

Still the body of old data is missing? did you give “Newhtml” + “old html”

cheers

The new HTML is missing. The old one is constantly present

@tomaz

Then there is some identifier in old html that is ignoring the new html layout…can you send it please here?

And it does not even throw error?

cheers

the mails that I’m forwardnig are random. So I dont think this is the problem. no it does not throw an error. It doesn’t matter if i Include old html or not. the old doby is always present.

@tomaz

If you give only new body is it displaying in the mail?

If yes then what is the first tag in the old body that you are getting any old mail body

If no then try removing div and give only para tags and try to check if then it displays

cheers

No, I can newer insert new body. No matter what I do the old body is always present

@tomaz

Try sending email with only new body dont give old body at all…

And can you send one sample of the old mail body…ANy old

cheers

just to clerafy the old body is body of mail that i’m forwarding, new doby i wish to add to forwarding mail

doesn’t meater what I do, the old body is always present and I cant get nothing else to apear.

can you please, do a sample WF and send it to me?

@tomaz

When you dont even give the old body how will it be present ?

Cheer

besause I am forwarding mail

@tomaz

remove mail.Bodyhtml from first and try palcing at last…And just to check can you remove forward field and see if it is working properly

cheers

If I don’t forward mail the mail is ok, but how do I send attachments?

@tomaz

Save the attachments and then send the file names collection so that attachments also would be there

Cheers

can I ask you fow do you make colection of files in folder?

Hi @tomaz

Directory.Getfiles("YourDirectoryPath")

this will get all files from the given directory as an array …just give this array in the attachment collection

cheers

@tomaz

Use system.io.directory.getfiles

Cheers