Send a doc in a email via web

I m trying to send a document with this form by email with the following scriptSet doc=db.createdocument

Doc.Form=“Command”

Doc.subject=“subject”

Doc.sendto=“recipients”

doc.field1=“Field1_content”

call doc.send(true)

the form “Command” has the property “Save form in document enable”

When i recive the email, the form is memo not " Command" and the body is empty !

PS The same script works perfetly in a 5.012 notes version