SMTP Mail

hanhanmy

New Member
Hi,

I'm using smtpmail.p to sent an email from progress.
It successfully sent the mail out. But before it sent the email out, there is an error message prompt out as below before it proceed to sent the email.

**Value 280716 cannot be displayed using -99. (74)
Can anyone guide me on what happen?

Code:
DEF VAR oSuccessful AS LOGICAL NO-UNDO.
DEF VAR vMessage AS CHARACTER NO-UNDO.
 
RUN globals/smtpmail.p (
            INPUT "mail.abc.com", /*mailhub*/
            INPUT "[EMAIL="test@abc.com"]test@abc.com[/EMAIL]", /*EmailTo*/
            INPUT [EMAIL="xyz@abc.com"]xyz@abc.com[/EMAIL], /*EmailFrom*/
            INPUT "",/*EmailCC*/
            INPUT "", /*Attachments*/
            INPUT "", /*LocalFiles*/
            INPUT "Test", /*Subject*/
            INPUT "Testing SMTP Mail.", /*Body*/
            INPUT "type=text/html:charset=us-ascii:filetype=ascii", /*MIMEHeader*/
            INPUT "text", /*BodyType*/
            INPUT 3, /*Importance*/
            INPUT TRUE, /*doAUth*/
            INPUT "base64",
            INPUT [EMAIL="test@abc.com"]test@abc.com[/EMAIL],
            INPUT "[EMAIL="fin08s@ft"]XXXXXXX[/EMAIL]",
            OUTPUT oSuccessful, /*oSuccessful*/
            OUTPUT vMessage ) NO-ERROR.  /*vMessage*/
 
Top