jmail send failure

bhagan
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?
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
0
Comments
-
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.0 -
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 Hagan0 -
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.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions