|
|
|
|
- Connecting to an IMAP server by using an emailIMAPSession variable
- Connecting to a secure SMTP server
EmailStartSession (Example)
Connecting to an IMAP server by using an emailIMAPSession variable // Le compte IMAP est défini chez Gmail gSessionIMAP is emailIMAPSession gSessionIMAP.ServerAddress = "imap.gmail.com" gSessionIMAP.Name = "utilisateur@gmail.com" gSessionIMAP.Password = "secret" gSessionIMAP.Port = 993 gSessionIMAP.Option = optionTLS  // Ouverture de la session Gmail IF EmailStartSession(gSessionIMAP) = False THEN // Echec de l'ouverture ErrorInfo(errFullDetails) END Connecting to a secure SMTP server
// Il s'agit dans cet exemple d'un serveur Gmail  // Session SMTP sécurisée gSessionSMTP is emailSMTPSession gSessionSMTP.ServerAddress = "smtp.gmail.com" gSessionSMTP.Name = "utilisateur@gmail.com" gSessionSMTP.Password = "secret" gSessionSMTP.Port = 587 gSessionSMTP.Option = emailProtocolSMTPS  // Ouverture de la session IF EmailStartSession(gSessionSMTP) = False THEN Error(ErrorInfo(errFullDetails)) END
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|