Email Management
get
| Parameter |
Notes |
| c |
admin
|
| t |
email
|
| oper |
get
|
?c=admin&t=email&oper=get
{
"status": "ok",
"error": "",
"validate": 0,
"data": {
"email_send_method": "smtp",
"email_from_address": "contact@example.com",
"email_from_name": "Acme Support",
"email_reply_address": "",
"email_reply_name": "",
"email_word_wrap": "",
"email_smtp_server": "smtp.gmail.com",
"email_smtp_user": "user@gmail.com",
"email_smtp_secure": "tls",
"email_smtp_port": "557"
}
}
set
| Parameter |
Notes |
| c |
admin
|
| t |
email
|
| oper |
set
|
| email_send_method |
One of default, SMTP, qmail, sendmail
|
| email_from_address |
The 'From' email address
|
| email_from_name |
The 'From' Name
|
| email_reply_address |
Reply email address
|
| email_reply_name |
Reply name
|
| email_word_wrap |
Word wrap count
|
| email_smtp_server |
SMTP server (required only if email_send_method = SMTP)
|
| email_smtp_user |
SMTP user (required only if email_send_method = SMTP)
|
| email_smtp_password |
SMTP password (required only if email_send_method = SMTP)
|
| email_smtp_secure |
SMTP protocol, TLS or SSL (requiredonly if email_send_method = code>SMTP)
|
| email_smtp_port |
SMTP Port (required only if email_send_method = SMTP)
|
test
| Parameter |
Notes |
| c |
admin
|
| t |
email
|
| oper |
test
|
| email |
Email address to send test email to.
|