Link to home
Start Free TrialLog in
Avatar of spidyseng
spidyseng

asked on

sending a email via VB

How do I send out an email message in
VB code that by passes the usual user logins and pwd checks?

The Help file in MSDN Help illustrates an example of the Send method (CDONTS
objects).

I made a copy of it and tried to send
a short email to myself but to no avial.

There were no errors during compilation.

ASKER CERTIFIED SOLUTION
Avatar of Maximka
Maximka

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of spidyseng
spidyseng

ASKER


Dear Maximka,

i tried to compile the code that you have shared and an error occurred with the function declaration line highlihted saying "Only comments are allowed after End Function, End Sub or
End Type.

Could you help please, thanks.







Please explane what happend .
If I interstand right You got Compile error
there are 2 options
or You did not copied right the code
(by the way the declaration has to be on one line )

or You don't have the VBAMAP32.DLL
thanx man....
You wellcome !!!!