Example for JMail
dgroeser
Member Posts: 39
Hello,
have got anywhere an example for JMail.
I want sent a e-mail per smtp with authentification.
Bye
have got anywhere an example for JMail.
I want sent a e-mail per smtp with authentification.
Bye
0
Comments
-
IF ISCLEAR(JMail) THEN CREATE(JMail); JMail.Silent := TRUE; JMail.From := 'From@mibuso.com' ; JMail.FromName := 'admin guy'; JMail.AddRecipient('to@mibus.com'); JMail.Subject := 'this is a subject'; JMail.AddAttachment('c:\file.txt',FALSE,'text/plain'); IF JMail.Send( '192.168.01.1') THEN BEGIN //this is smtp server ip message('Processed'); END ELSE BEGIN message(JMail.ErrorMessage); END; JMail.Clear;0 -
Nice --- looks vaguely familiar.
0 -
Are you sure? 8)0
-
have you a example for pop with jmail?0
-
Nope I don't. I never needed to interface with POP. I'm sure you can find it on their website.0
-
what must be the subtype of datatype automation of veriable JMAIL in the above code?0
-
type automation subtype Jmail com object that is registerd which is jmail.dll.0
-
type automation subtype Jmail com object that is registerd which is jmail.dll.
If I have to do this for outlook then subtype is 'Microsoft Outlook 10.0 Object Library'.Action ?
or first we have to registered the domain using for outlook?0 -
I'm not familiar with MS outlook object library. But I'm pretty sure you need to set it up with the server.0
-
I installed JMail and registered the DLL's but I can't find them in the automationslist in Navision. I registered them with regasm and gacutil.. was this wrong? Do I have to use regsrv32? I would be glad if somebody could give me some hints.0
-
was the navision client opened while you register the dll :?:
register the dll please with regsrv32. But the dll must have an entry point for register with regsrv32 and use with navision.Do you make it right, it works too!0 -
No Navision Client was closed. I tried to registered it with regsvr32 but it didn't work. The DLL has no entry point.0
-
mhm, i use jmail_free.msi (DIMAC). it workes.Do you make it right, it works too!0
-
I used jmailnet_free.msi
The DLL's are called Dimac.JMail.dll and Dimac.JMail.Smtp.dll
Is it the wrong file?0 -
thats the .net solution. So browse how to use this. (regasm.exe for registering an need .net framework)Do you make it right, it works too!0
-
I downloaded the other JMail File. It looks like this is the right one. Thanks garak. Without you I maybe hadn't realised it.0
-
i hope i could helpDo you make it right, it works too!0
-
you are using the .NET version, and you need to use instead of regsvr32 regasm.exe0
-
use the non .net version, the older version. 3.x0
-
JMail.dll works fine. Thank you for your help.0
-
=D>Do you make it right, it works too!0
-
Hello,
where could i find Jmail free ocx, or other component you are talking about?
(i have googled but no luck for the free Jmail)
Thanks,
hxr0 -
If i ask "google" i found a lot of download topics about "jmail" "jmail freeware" "jmail download" ....
jmail is a product of "dimac"Do you make it right, it works too!0 -
I got it, thank you
0 -
Hello,
I have setup a report in navision to print to pdf and email it to the customer. Thanks to ara3n i was able to do it with bullpdf and JMail. But for some reason, the email is getting rejected by my outlook. It does not show. I checked it with other mail accts like yahoo, gmail and they seem to work fine. Any ideas?0 -
You can also use Microsoft.Navision.Mail.dll. You can look in 5.0 CU 400 on how to use it.0
-
It was my relay settings in my server which had caused issues. After enabling it it worked fine!! Thanks ara3n. Its been working fine for a year but we might be upgrading atlaast and i might use the inbuilt smtp for emailing hopefully0
-
It's great to hear that it's been working fine for a year now. I would keep it as is.0
-
Jmail is giving me the following error message :
What will be the reason behind it ?? :-k :-kNow or Never0 -
According to this document, http://www.answersthatwork.com/Download ... _Codes.pdf , SMTP error 530 means:Authentication is required
or
Your server has been blacklisted by the recipient’s server
or
The recipient’s mailbox does not existNo support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 329 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


