smtpSendText and Multiple Addresses
Keywords: smtpSendText
Question:
Is it possible to use smtpSendText to send to >1 address (To) at a time?I've not been able to get this to work by putting a comma and space in To.
Answer:
Sorry no, Not with the Winsock extender, you have to do multiple SendMsgText functions. However, the Postie Extender can handle mulitple addresses in a single statement.Hint.
It sets the socket timeout to 5 seconds. So when we issue a socket close and it does not close properly for an as-of-yet-unknown reason, it forces the socket to close in 5 seconds anyway.
- Add:
wxParmSet(5,5)right after the addextender statement.
- Add:
TimeDelay(8)After each smtpMsgText call.
Article ID: W12684Filename: smtpSendText and Multiple Addresses.txt