 |
|
 |
It is unwise of you to not offer an uninstaller application for this ActiveX/COM component. Or at least provide a script or information on how to unregister this component for "clean" removal from the system.
"A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible." - Freeman Dyson
|
|
|
|
 |
|
 |
Would be nice if someone integrated the features of Nishant's project: Send mail without specifying an SMTP server[^].
In theory, this project could do a similar thing where you can send emails to recipients directly to the recipients SMTP servers, but that's assuming you know the SMTP servers, and it requires manual work. By integrating Nishant's code, the the ActiveX/COM mail code could lookup the recipients mail server via DNS MX record to send the mail.
This would definitely bypass any need for SMTP mail server account credentials to send mail, which this tool seems to be missing anyways.
I made an attempt to do this integration but it doesn't seem to work, and I'm not a ActiveX/COM/ATL/MFC/Visual C++ developer to be able to thoroughly debug and fix the problem. It compiles but just doesn't work.
Maybe someone could do what I failed at?
On a side note, I did develop a command line version of Nishant's code available at Some easy ways to send emails (via SMTP) and SMS text messages[^]. I just wish I could come up with an ActiveX/COM version as well.
"A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible." - Freeman Dyson
|
|
|
|
 |
|
 |
Hello Friends
I m new in VB 6.0, i want to know that how can i use SMTP Client ActiveX Component in my vb project,
i m writing code for sending email,
and i dont want to use chilkat or any trial base component,
i hope i will get answer from here...
Thanks in advanse
__________
Altaf
Altaf
|
|
|
|
 |
|
 |
The example usage section has what you need.
"A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible." - Freeman Dyson
|
|
|
|
 |
|
 |
How to use this control with javascript, the ActiveXObject works?
|
|
|
|
 |
|
 |
In theory it should. But this only works for javascript that runs within Windows Scripting Host, ASP, or within IE.
"A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible." - Freeman Dyson
|
|
|
|
 |
|
 |
How use this activex components in VBS (visual basic script) ?.
Do you can send me an example about this ?
Thanks you in advance.
Eduardo Silva
Eduardo Silva
|
|
|
|
 |
|
 |
See the ASP example. But for Windows Scripting Host (desktop) VBScript, you can skip the "Server" part of "Server.CreateObject(..)" so it would be "objName = CreateObject(...)"
"A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible." - Freeman Dyson
|
|
|
|
 |
|
 |
Thanks, Kashif, I'm testing your component in ASP on a Win2K box running Mercury mail server; everything seems to work just fine except one thing: the recipient gets the email from ... nobody (the "From" box is empty).
Does anybody know what I'm missing ?
|
|
|
|
 |
|
 |
This is a known big in the component. Unfortunately I never found time to update the code and hence the defect keeps haunting the users. Please accept my appologies for that. However since the code is free so users are welcome to make the changes and fix the defect.
cheers,
-kashif manzoor
peace to all
|
|
|
|
 |
|
 |
Hi, I know it's been a while.
Has anyone solved this problem?
In my case, both from and to are empty. I'm using this control with VB6 on windows xp.
Thanks in advance....
|
|
|
|
 |
|
 |
You gave an example for everything except C++. What the class to create an instance to call CreateDispatch()? Isn't there supposed to be a CXxxxx xxx
then
xxx.CreateDispatch()?
Also, after running the Exe and right clicking in project and choosing "Insert ActiveX control" there is nothing in the list that resembles the name of this.
Feeling lost here , what am I missing?
|
|
|
|
 |
|
 |
Please see the MSDN for details of the usage of CreateDispatch().
I believe that it may have been your first time using ActiveX component in a Visual C++ environment.
The sample code for WML, ASP, EXCEL was given because I assumed these environments to be the most probable ones where the component would be used.
Anyways a simple MSDN search on CreateDispatch() will give you enough information and links to further info. to make you an expert on using ActiveX components in your VC++ code
-cheers,
-kashif manzoor
peace to all
|
|
|
|
 |
|
 |
How can i make plugins for microsoft exchange server 2000 to add some new features to it.
|
|
|
|
 |
|
 |
In messages sending by SMTP.server, not appear From: .
Ej:
From: "eGuardianPRO"
it's the original message.
Return-Path:
Delivered-To: webmaster@wursa.local
Received: from MOVIL-SYSCON (192.168.4.199)
by lnx-wursa.local with [XMail 1.6 (Linux/Ix86) ESMTP Server]
id for from ;
Fri, 06 Dec 2002 16:31:00 +0300
Subject: Test of SMTP.server
Reply-To: eguardian@wursa.local
Testing.....
thanks in advance
|
|
|
|
 |
|
 |
Can you please send me the log file that the component generates. You will have to set the Log file option to enable logging. I will take a look at the log file and will see why the "From" field did not appear.
cheers,
Kasihif Manzoor
peace to all
|
|
|
|
 |
|
 |
Kasihif: Here is the log file
I have another problem, in the log always i have 2 RCPT TO: and the last is null.
Look in the log.
Thank you and congratulation for this componet is very advantagious.
BEGIN
Message intended for 2 addresses
HIM: 220 <1039504573.657687579@lnx-wursa.local> [XMail 1.6 (Linux/Ix86) ESMTP Server] service ready; Tue, 10 Dec 2002 10:16:13 +0300
ME: HELO MOVIL-SYSCON
HIM:250 wursa.local
ME: MAIL FROM:
HIM:250 OK
ME: RCPT TO:
HIM:250 OK
ME: RCPT TO: <>
HIM:501 Syntax error in forward path
ME: DATA
HIM:354 Start mail input; end with .
ME:
Subject: Comunicacion Interna - Presupuesto: 7
Reply-To: eguardian@wursa.local
<91 bytes of message sent to the server>
HIM:250 OK
Message Successfully delivered
======== END ========
|
|
|
|
 |
|
 |
this won't work for smtp servers requiring authentication to send mail.
i'm sure 99% of the servers out there now require smtp authentication, due to spamming and relayng problems.
just my 1.3734 cents worth
|
|
|
|
 |
|
 |
You are right, the component does not take care of the authentication issues. I guess, if needed, one could always download the code and update it to accomodate these intricacies.
-kashif manzoor
peace to all
|
|
|
|
 |
|
 |
dont bet such a wise guy now!!!! if you gonna put up an article, then dont make it a half ass one.
|
|
|
|
 |
|
 |
Hello,
your SMTP Server seem to be that what I´am looking for but now Í´ve problems.
I´ve tried your XLS example. But when I send the message it only reach the MailTo receiver but not the CcTo receiver.
The mail which reach the MailTo receiver don´t have any message in the body.
I´ve try own solution by VB6.0 but it is still the same.
Why can´t I address a CcTo and why I lost the mailbody?
Can you help.
Here is the LOG-File:
BEGIN
HIM: 220 fez7164.de.bosch.com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.2653.13) ready
ME: HELO TWohlgemuth.SMTP.server
HIM:250 OK
ME: MAIL FROM:
HIM:250 OK - mail from
ME: RCPT TO:
HIM:250 OK - Recipient
ME: DATA
HIM:354 Send data. End with CRLF.CRLF
ME:
Subject: Test SMTP Client
Reply-To: Thomas.Wohlgemuth@de.bosch.com
<28 bytes of message sent to the server>
HIM:250 OK
Message Successfully delivered
======== END ========
Thomas
|
|
|
|
 |
|
 |
The bug has been fixed. You may download the new exe and source code
-kashif manzoor
peace to all
|
|
|
|
 |
|
 |
I can send mails to most of the smtp servers.
But i found that some smtps like hotmail or yahoo blocks me and my mail is not getting to the recipient.
Anyone has an idea what is the reason for that and how can i overcome it.
|
|
|
|
 |
|
 |
It is a good chance that Hotmail and Yahoo are blocking your messages based on issues with SenderID or Domain Keys... both are anti-spam technology. Yahoo and Hotmail check DNS for records based on the sending domain stated in your message. It also inspects the IP address of the machine attempting to send the message. If it does not locate a record in DNS stating that your machine is authorized to send messages for the domain listed your message, it is considered "spoofed" and rejects the message.
Sender ID:
http://www.microsoft.com/mscorp/safety/technologies/senderid/default.mspx
Domain Keys:
http://antispam.yahoo.com/domainkeys
Michael Burdeos
mburdeos@yahoo.com
|
|
|
|
 |
|
 |
Sir,how to add some attachment files,and send mail to anyone.
|
|
|
|
 |