Donnez vie à vos documents numériques !
 

Répondre à : Body avec retours chariot

abracadabraPDF Forums PDF – Général Body avec retours chariot Répondre à : Body avec retours chariot

#61846
bebarth
Maître des clés

bonjour,
Le retour ligne, c’est « n”, donc essaie (testé et ça fonctionne !) :
var fTo = this.getField(« To »);
var fSubject = this.getField(« Subject »);
var fBody = this.getField(« Body »);
var str = fBody.value;
var fBody = str.replace( » Nom : », « nNom : »);
var str = fBody;
var fBody = str.replace( » Log : », « nLog : »);
var str = fBody;
var fBody = str.replace( » Passe : », « nPasse : »);
var str = fBody;
var fBody = str.replace( » Serveur FTP », « nServeur FTP »);
app.mailMsg(true, fTo.value, «  », «  », fSubject.value, fBody);
@+
:bonjour: