====== getEMail ====== Returns the text of the letter in accordance with the specified parameters. ===== Syntax ===== getEMail = function(aHost, aUser, aPassword, aContains, aDelete, aIndex); ==== Parameters ==== * **//aHost//** * //functions:// pop3 mail server address * **//aUser//** * //functions:// user name * **//aPassword//** * //functions:// user password * **//aContains//** * //functions:// text included in the body or subject of the letter * **//aDelete//** * //functions:// flag indicating whether to delete a letter * **//aIndex//** * //functions:// index of the received letter from found ==== Returned value ==== * //functions:// text of the received letter ===== Examples ===== -//Получаем первое письмо, содержащее waspace test и удаляем его var emailtext = getEMail('smtp.mail.ru','user','pass','waspace test',true,0);