Hi,
I want to send email through my code unit, but i dont want to use MS Exchange or Outlook for that; that means i want my code unit to send emails internally without using any tool like outlook.
Please provide me that OCX and also sample code if you have. I need to do tht in a very short time.
Thanks in Advance,
0
Comments
I had the same problem a few months ago. So, I looked around and I found a file blat.exe on www.blat.net. This is infact a smtp mailer which you can use for free. I even changed my mail codeunit so that this file is allways used instead of outlook. It works very fine and very quickly.
Consultant-Developper
http://www.CreaChain.com
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
SMTP Mail v1.6 - Stabilized
SMTP OCX v1.6
But that email stuff is not working; i am unable to figure out what exactly the problem is becuase with same SMTP Host name i am sending emails from my webbased application and its working fine. But over here i have no clue. This is wht i have written inside my codeunit, please guide me up if i am missing out anything.
Thanks in Advance
You have to set few more parameters...
On a example from http://www.nowecor.de/users/stephan/ind ... mtpocx.htm
here is a minimum of coding for successfull email sending (at least it worked for me).
As you can see, you missed SetUserID parameter (which is required) and if you are testing, you should at least put one line of text (body)
The code we use is like this:
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
So nice of you.
Regards,
I must give it only real mail address (something@something.com). I SMTP communication I can give in a header a "From: My Name <somethin@something>" line and with that I can send mail with more descriptive From field...
Has anybody managed to send a more descriptive From field with this OCX?
I have tried the same over here just for testing purpose and its not working. [/b]
well, I have to say that, althought it's working perfectly what it should work, lack of options gives me no other option than to search for another solution. Or to turn on a Delphi and update ocx
Allright then do update :P, if you find any other solution .
Thanks
Consultant-Developper
http://www.CreaChain.com
Thx, I appriciate that.
I have an error message exist "SMTP error. Error number 10061" when I use SMTP Mail v1.6 - Stabilized and the same code; Can any body help me to fix this problem???
Regards
After years working fine with the OCX, today I have 2 new clients that give me the "SMTP error. Error number 10061", but same codeunit works fine in other computers!! ](*,)
Where is the error?
(EDIT) : I use smtpmailxcontrol 1.6 stabilized
Thanks