jmail send failure

bhaganbhagan Member Posts: 25
I have been using jmail for awhile to send SMTP mail.
I have one user that I have installed and registered the jmail.dll, but when they try to send mail, they get the error message

"call to the member Send failed. jmail.message returned the following message: The message was undeliverable. All servers failed to receive the message"

The same code unit works for other users.

Does anyone have a suggestion of what could be wrong?
Beth Hagan

Comments

  • ara3nara3n Member Posts: 9,256
    The way I've implemented with jmail is that everybody writes to an email queue table. Job scheduler periodically checks the email queue and sends the email.
    That way the users do not have to register the dll.


    As for your problem make sure the from email address and to address is setup correctly.

    Create a hardcoded email and send it from that user. Make sure the smtp server can be pinged from that server.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • bhaganbhagan Member Posts: 25
    Thanks for the suggestion. I am using CSIDE. Would I use a Navision table to make the table to be checked by jmail? ](*,)

    It is obvious that I am not a power programmer.
    Beth Hagan
  • ara3nara3n Member Posts: 9,256
    Yes. Create a table, With Entry No. as PK.

    Add from, to, title, cc, body (Blob). fields, status (option, New,Sent,Error);

    Insert new records in it with email info.



    From nas you can monitor this table and send the email and update the status to sent.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.