We had an issue with e_mail_smtp_open that worked out to be an issue with our antivirus software.
That has been resolved. Now when we attempt to do an email_smtp_send, we are getting a "false" on the result.
Is there anywhere that I can find out what the error is, as opposed to just a "False" on the result?
code sample below:
If anyone can see the issue, I would be appreciative.
Thanks,
Tom
That has been resolved. Now when we attempt to do an email_smtp_send, we are getting a "false" on the result.
Is there anywhere that I can find out what the error is, as opposed to just a "False" on the result?
code sample below:
Code:
DIM mail_from as C = lookupc("F",EMPID,"email_addr","workers.dbf","Empid") 'EMPID of the worker responding DIM mail_to as C = lookupc("F",vEMPID,"email_addr","workers.dbf","Empid") 'EMPID of the originating phone bank worker DIM ps as P DIM pm as P msg_text = vMESSAGE2 pm.from = mail_from pm.to = mail_to pm.subject = "Phone Bank Messaging System Response for "+ut(vCaseno)+" - "+ut(vNAME) 'pm.cc = cc_list pm.bcc = "" pm.message = msg_text if email_smtp_open(ps,"[COLOR="#FF0000"]email server address[/COLOR]",25,"[COLOR="#FF0000"]user[/COLOR]","[COLOR="#FF0000"][/COLOR][COLOR="#FF0000"]password[/COLOR]") if email_smtp_send(pm,ps) email_smtp_close(ps) else ui_msg_box(Agency,"Problem! - There is a Problem with the SMTP Email send"+crlf()+"No e-mail was sent to "+mail_to) end if else ui_msg_box(Agency,"Problem! - There is a Problem with the SMTP Email open"+crlf()+"No e-mail was sent to "+mail_to) end if
Thanks,
Tom
Comment