User Tools

Site Tools


Sidebar



en:objects:mail

This is an old revision of the document!


mail

Object for working with POP3, SMTP, and IMAP mail services



General
Sending mail via SMTP
Receiving mail via POP3
Receiving mail via IMAP




General

set_proxy – set a proxy through which all requests will go



Sending mail via SMTP

smtp_connect – connects to the SMTP server
smtp_disconnect – disconnects from the SMTP server
send_mail_via_smtp – send a message via SMTP



Receiving mail via POP3

pop3_connect – connect to a POP3 server
pop3_disconnect – disconnect from the POP3 server

get_message_count_via_pop3 – get the number of emails in the mailbox via POP3

get_message_by_number_via_pop3 – get an email with the specified number via POP3
get_message_by_subject_via_pop3 – to get a letter with a given topic via POP3.
get_message_by_from_via_pop3 – get email from the specified sender via POP3.
get_message_by_text_via_pop3 – get email with the specified text using POP3.

delete_message_by_number_via_pop3 – delete the message with the given number via POP3.
delete_message_by_from_via_pop3 – delete the specified email from via POP3.
delete_message_by_subject_via_pop3 – delete the message with the given subject via POP3.
delete_message_by_text_via_pop3 – delete a message with the specified text via POP3

delete_all_messages_via_pop3 – delete all emails in the mail via POP3



Receiving mail via IMAP

imap_connect – connect to IMAP server
imap_disconnect – disconnect from the IMAP server
get_message_count_via_imap – get the number of emails in the mailbox via IMAP

get_message_by_number_via_imap – get an email with the specified number via IMAP
get_message_by_subject_via_imap – get an email with the specified subject via IMAP
get_message_by_from_via_imap – to receive an email from the specified sender IMAP
get_message_by_text_via_imap to receive a letter from with the specified text IMAP

delete_all_messages_via_imap – delete all messages IMAP
delete_message_by_number_via_imap – delete the message with the given number via IMAP.

Available from version 4.0.7

en/objects/mail.1602083483.txt.gz · Last modified: 2020/10/07 18:11 by sales