sending_20an_20email_20with_20attachments
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| sending_20an_20email_20with_20attachments [2018/03/31 13:19] – external edit 127.0.0.1 | sending_20an_20email_20with_20attachments [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| //by Richard Russell, October 2012, corrected August 2015//\\ \\ | //by Richard Russell, October 2012, corrected August 2015//\\ \\ | ||
| - | ==== See also [[/ | + | See also [[/ |
| \\ In the article [[/ | \\ In the article [[/ | ||
| + | <code bb4w> | ||
| INSTALL @lib$+" | INSTALL @lib$+" | ||
| Line 16: | Line 18: | ||
| PROCsendmailattach(SMTP$, | PROCsendmailattach(SMTP$, | ||
| + | </ | ||
| The calling program should first check that the attached files actually exist, because if not **PROCattach()** will abort with an error and not terminate the SMTP transaction; | The calling program should first check that the attached files actually exist, because if not **PROCattach()** will abort with an error and not terminate the SMTP transaction; | ||
| + | <code bb4w> | ||
| DEF PROCsendmailattach(smtp$, | DEF PROCsendmailattach(smtp$, | ||
| LOCAL D%, S%, skt%, comma%, reply$, file$ | LOCAL D%, S%, skt%, comma%, reply$, file$ | ||
| Line 128: | Line 132: | ||
| IF FN_writelinesocket(skt%, | IF FN_writelinesocket(skt%, | ||
| IF FN_writelinesocket(skt%, | IF FN_writelinesocket(skt%, | ||
| - | IF FN_writelinesocket(skt%, | + | IF FN_writelinesocket(skt%, |
| IF FN_writelinesocket(skt%, | IF FN_writelinesocket(skt%, | ||
| IF FN_writelinesocket(skt%, | IF FN_writelinesocket(skt%, | ||
| Line 142: | Line 146: | ||
| CLOSE #F% | CLOSE #F% | ||
| ENDPROC | ENDPROC | ||
| + | </ | ||
sending_20an_20email_20with_20attachments.1522502380.txt.gz · Last modified: 2024/01/05 00:16 (external edit)