Page History
...
| Field | Name | Description | ||||
|---|---|---|---|---|---|---|
| <1> | Unused | Leave blank. | ||||
| <2> | Unused | Leave blank. | ||||
| <3> | Server Port | The SMTP service port. Most servers use 25 for non-encrypted use or 587 for TLS encryption. | ||||
| <4> | Server Address | The SMTP server name or IP address. (For example: mail.mydomain.com) | ||||
| <5> | Authenticate | Set this to 1. Nearly all email service provider require authentication. | ||||
| <6> | Username | Your email account's username | ||||
| <7> | Password | Your email account's password | ||||
| <8> | Use TLS | Set this field to 1 or "TLS" if you need the email transported the TLS security protocol. Set it to 0 or leave it blank if encrypted security is not desired (though this is not recommended).
|
Example
| Code Block |
|---|
$insert SRPMAIL_INSERTS Config = "" Config<3> = 587 Config<4> = "mymail.somedomain.com" Config<5> = 1 Config<6> = "myusername" Config<7> = "password" Config<8> = "TLS" Message = "" Message<1> = "Subject Line" Message<2> = "myemail@somedomain.com" Message<3> = "myfriend@somedomain.com" Message<4> = "" Message<5> = "" Message<6> = "" Message<7> = "TEXT" Message<8> = "Hello World!" Message<9> = "" Message<10> = SRPMail_Importance_Normal$ rv = SRP_Send_Mail(Message, Config) |
...