NUMBER %GETMAIL%
Scopo: scaricare una mail dal
server di posta.
| Sintassi: | |||
| %NUMBER% | %GETMAIL% | (%STRING% | server, |
| %STRING% | user, | ||
| %STRING% | password, | ||
| %STRING%* | fromname, | ||
| %STRING%* | fromaddr, | ||
| %STRING%* | subject, | ||
| %STRING%* | date, | ||
| %STRING%* | message, | ||
| %STRING%* | text, | ||
| %NUMBER%* | total, | ||
| %NUMBER% | index, | ||
| %NUMBER% | maxsize, | ||
| %NUMBER% | remove, | ||
| %NUMBER% | timeout) | ||
| valore | descrizione |
| server | server pop |
| user | utente pop |
| password | password utente pop |
| fromname | nome sender |
| fromaddr | indirizzo sender |
| subject | oggetto |
| date | data |
| message | messaggio |
| text | messaggio (txtplain) codificato in base al
valore della header "Content-Transfer-Encoding".
Valori riconosciuti: - UUENCODE - 7bit - 8bit - binary - quoted-printable - base64 |
| total | totale messaggi rimasti |
| index | progressivo messaggio da leggere |
| maxsize | dimensione massima messaggio |
| remove | se != 0 cancella il messaggio letto |
| timeout | timeout espresso in secondi |
Descrizione: Consente di prelevare dal server di posta il messaggio individuato.
Valore restituito: valore numerico
Torna 0 se non ci sono messaggi.
Torna 1 se OK.
Torna < 0 in caso di errore generico.
Vedere anche: %FWDMAIL%, %SENDMAIL%, Protocolli di rete