SMTP Email: Difference between revisions
no edit summary
No edit summary |
|||
Line 60: | Line 60: | ||
String sAttach sName | String sAttach sName | ||
Integer iRC | Integer iRC | ||
Boolean bIsComObjectCreated | |||
Get IsComObjectCreated of oComMailSender to bIsComObjectCreated | |||
If (not(bIsComObjectCreated)) Begin | |||
Send CreateComObject to oComMailSender | |||
End | |||
Send ComReset to oComMailSender | |||
Set ComUserName of oComMailSender to "YourEmailLoginID" | Set ComUserName of oComMailSender to "YourEmailLoginID" | ||
Set ComPassword of oComMailSender to "YourEmailLoginPassword" | Set ComPassword of oComMailSender to "YourEmailLoginPassword" | ||
Line 73: | Line 83: | ||
Get ComSend of oComMailSender "" to iRC | Get ComSend of oComMailSender "" to iRC | ||
If (not(iRC)) send stop_Box "Email failed." | |||
'''''SMTP Host''''' | '''''SMTP Host''''' |