Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error 2295 unknown message reciepints

Status
Not open for further replies.

mravimtnl

MIS
Nov 1, 2009
47
Hello I was able to send mail by this code till now

However I am now getting an erro 2295 9Run time error and Out look security pop up and unable to send the message. the comment is unknown message reciepints.

. Further i want to know how to send mail through novel groupwise as it is my default e mail client.

the code used by me as follows
Option Compare Database


Private Sub Command14_Click()



Dim CN, PO, nowork, location, work, email As String

stCN = Me.CN
stpo = Me.PO
stnowork = Me.nowork
stemail = Me.email
' DoCmd.SendObject acReport, stDocName
DoCmd.SendObject acSendNoObject, cards, , Me.email, , "Approved Cards", "your cards of M/s" & Me.CN & "under" & Me.PO & "for the work of " & Me.nowork & "is issued.This is an auto gnerated mail. please donot respond", -1, False
Exit_Command14_Click:
Exit Sub



End Sub


However I am now getting an error 2295 Run time error and Out look security pop up and unable to send the message. the comment is unknown message reciepints
 
Change the last parameter from False to True and run your code. This will open an outlook message window with all your email address in the To and Cc text boxes. Here you will be able to examine which email address is causing you a problem.

This has happened to me many times when bad email addresses are put in a table that I use to send automated emails.

Hope this helps.

ProDev, Builders of Affordable Software Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top