NUMBER %FWDMAIL%
Scopo: replicare una mail ad un nuovo destinatario.

Sintassi:
%NUMBER% %FWDMAIL% (%STRING% server
    %STRING% toaddr,
    %STRING% fromname,
    %STRING% fromaddr,
    %STRING% replyaddr,
    %STRING% organization,
    %STRING% subject,
    %STRING% text,
    %STRING% message,
    %NUMBER% timeout)
Descrizione sul valore dei parametri:
valore descrizione
server nome del server smtp
toaddr e-mail destinatario
fromname mittente
fromaddr e-mail mittente
replyaddr e-mail per replica messaggio
organization organizzazione per replica messaggio
subject oggetto
text testo
message messaggio originale con header
timeout timeout(sec.) spedizione

Descrizione: tramite questa funzione è possibile re-indirizzare una mail esistente verso un nuovo indirizzo.

Valore restituito: valore numerico
Torna 1 in caso di esito positivo.
Torna 0 in caso di errore generico.

Vedere anche: %GETMAIL%, %SENDMAIL%, Protocolli di rete

Esempio:
%STRING%(fromname,"")
%STRING%(fromaddr,"")
%STRING%(subject,"")
%STRING%(date,"")
%STRING%(message,"")
%STRING%(text,"")
%NUMBER%(total,)
%IF%(%GETMAIL%("<pop3.domain.it>", "<user>", "<psw>,
    fromname, fromaddr, subject, date, message, text,
    total, 1, 4096, 0, 360))
 %IF%(%FWDMAIL%("<pop3.domaindest.it>", "<indirdest>",
     "<nomemittente>", "<indirmittente>"
     "<nuovoindir>", "", subject,
     "Ti invio per conoscenza la seguente mail:",
     message, 360)
  <!-- esegui script di avvenuta spedizione correttamente -->
 %ELSE%
  <!-- esegui script di spedizione non eseguita -->
 %ENDIF%
%ENDIF%