|
-
November 12th, 2004, 02:04 AM
#16
Re: Email with VB
Why not try vbsendmail.dll, it's been around for a while now, with full source code, only need winsock.
You can find it in this link
http://www.freevbcode.com/ShowCode.Asp?ID=109
-
November 12th, 2004, 02:13 AM
#17
Re: Email with VB
thanks Luthv and Zeb..
it just coincedent or vbsendmail that u and Zeb talking are the same?
well..i guess i'm gonna give it a try...
thanks again
-
November 13th, 2004, 12:42 AM
#18
Re: Email with VB
no coincidence - it's a pretty commonly used dll cause it is so much better than MAPI
-
November 30th, 2004, 09:32 PM
#19
Re: Email with VB
Hi all,
I seem to have problems tackling the security issues of the Microsoft Outlook as the window on
"A program is trying to automatically send emails on your behalf.
Do you allow this?
If this is unexpected, it may be a virus and you should choose "No"."
I have searched through msdn pages, and found this url.
http://msdn.microsoft.com/library/de...mmatically.asp
However, the security features on my Microsoft Outlook is disabled. So how is it possible to still get this message? what else can I do?
Thanx. Need the help i could get!
-
December 1st, 2004, 02:26 AM
#20
Re: Email with VB
I'm afraid you can't do anything.
Older versions of Outlook didn't have that feature but Microsoft added it for extra security.
I strongly recommend that you use vbSendMail.dll (see posts above).
Visit www.greekroms.net
Greek translations of roms
-
December 1st, 2004, 03:27 AM
#21
Re: Email with VB
Please remember to rate the posts and threads that you find useful.
How can something be both new and improved at the same time?
-
December 1st, 2004, 10:49 PM
#22
Re: Email with VB
Well i realised i cant get past the outlook thingy. So the best way is probably to use SMTP which i did.
Dim iMsg As New CDO.Message
Dim iConf As New CDO.Configuration
Dim Flds
Set Flds = iConf.Fields
With Flds
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = SMTPServer
'Use SSL to connect to the SMTP server:
.Item(cdoSMTPServerPort) = SMTPPort
.Item(cdoSMTPConnectionTimeout) = 10
.Update
End With
With iMsg
Set .Configuration = iConf
.To = ReceiveBY
.From = SendBY
.Subject = strSubj
.HTMLBody = strBody
End With
And it works fine and save me all the trouble of finding ways to bypass the outlook security. But anyway thanx guys for the help.
-
December 2nd, 2004, 12:50 PM
#23
Re: Email with VB
 Originally Posted by babtbaby
Well i realised i cant get past the outlook thingy.
Actually, you can bypass the Outlook warning messages. ContextMagic has written a freeware program called ClickYes that essentially suppresses the Outlook warnings. The following link allows you to download the program and offers instructions on how to implement its use in various programming languages. http://www.contextmagic.com/express-clickyes/
Naturally, due to inherent risks from viruses I'd recommend using this program only when absolutely necessary (i.e. if Outlook is your only option for sending email), otherwise keep it turned off.
Death is life's special way of telling you you're fired.
For I do not seek to understand in order to believe, but I believe in order to understand. For I believe this: unless I believe, I will not understand. - Anselm of Canterbury (1033–1109)
-
December 14th, 2005, 10:01 AM
#24
Re: Email with VB
Here is that tricky code that will allow you to get past the Outlook security box when auto-sending emails thru a program. It puts an Icon on the task tray that you can set the activation on. It is called ClickYesSetup. I didn't attach it because it is an executable and we all are wary of those.
But, you can google it and it will come up. This will save a tone of time when your program has to send out more than just a few emails
Al
-
February 2nd, 2006, 12:28 PM
#25
Re: Email with VB
when I use this code to send mail,my McFee displayes the "Protocol Error" message.
I am using this code.
Private Sub Command1_Click()
MAPISession1.SignOn
MAPIMessages1.SessionID = MAPISession1.SessionID
MAPIMessages1.Compose
MAPIMessages1.RecipAddress = "[email protected]"
MAPIMessages1.ResolveName
MAPIMessages1.MsgSubject = "Message Subject"
MAPIMessages1.MsgNoteText = "Hello World"
MAPIMessages1.Send False
MAPISession1.SignOff
End Sub
plz tel me the solution quicky.
-
February 3rd, 2006, 09:25 AM
#26
Email with VB (Still Getting Problem)
I have run the following code a number of times,the code runs correctly, no error msg.but after some time my McFee display that a mail to specified person with subject is beaing sent,but with a protocol msg,So, I Uninstall the McFe. sut still I am unable to sent mail.I have run code from "Bnoyzy"but still.....
I am getting no msg ,but unable to send mail.
plz tell me the sol.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|