sending_20an_20html_20email_20with_20optional_20attachments
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sending_20an_20html_20email_20with_20optional_20attachments [2018/03/31 13:19] – external edit 127.0.0.1 | sending_20an_20html_20email_20with_20optional_20attachments [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
//by Richard Russell, April 2014, corrected August 2015//\\ \\ In the article [[/ | //by Richard Russell, April 2014, corrected August 2015//\\ \\ In the article [[/ | ||
+ | <code bb4w> | ||
INSTALL @lib$+" | INSTALL @lib$+" | ||
Line 16: | Line 17: | ||
PROCsendmailhtmlattach(SMTP$, | PROCsendmailhtmlattach(SMTP$, | ||
+ | </ | ||
The calling program should first check that the attached file(s) 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 file(s) actually exist, because if not **PROCattach()** will abort with an error and not terminate the SMTP transaction; | ||
+ | <code bb4w> | ||
DEF PROCsendmailhtmlattach(smtp$, | DEF PROCsendmailhtmlattach(smtp$, | ||
LOCAL D%, S%, skt%, comma%, reply$, file$ | LOCAL D%, S%, skt%, comma%, reply$, file$ | ||
Line 158: | Line 161: | ||
CLOSE #F% | CLOSE #F% | ||
ENDPROC | ENDPROC | ||
+ | </ |
sending_20an_20html_20email_20with_20optional_20attachments.1522502380.txt.gz · Last modified: 2024/01/05 00:16 (external edit)