I.T. Discussion Community!
-Collapse +Expand
Prestwood IT
Search Group:

Advanced
-Collapse +Expand Prestwood IT Store

Prestwood eMagazine

January Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPrestwood IT Solutions BoardpsSendMail DLL Topic   Print This     

psSendMail

Jonesk
 (Inactive)
NC

That psSendMail is a nice little utility. It is almost exactly what I am looking for. My problem is that I am trying to incorperate the SendMail form into another form but when I do it loses it functionality (or likewise when I try to incorperate an existing form into the SendMail form). You'll have to forgive me as I am not an Access Guru (novice at best) but if I could get this Sendmail function to work with an existing form, my life would me made much easiler. If you can give me any insite, or point me in the right direction, I would greatly appreiciate it.

Thank you.
Kevin

 Posted 18 years ago (Thread Starter)
Comment Quote
About Jonesk -Collapse +Expand
Visit Profile
Inactive member.
Member does not subscribe to this thread.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #7156, 1 replies
Thread Started 7/30/2002 9:04:00 AM
View Counter=3546
Location=NC  
Joined=18 years ago   MB Posts=1  
Most Recent Post
Moderator
Mike Prestwood
Prestwood IT
Prestwood IT office in Citrus Heights, CA

As for your specific "reuse" problem. What specific error are you getting? My first guess is that you need to declare the DLL functions. The following code snippet is from the mod_sendmail module:

Option Compare Database

Declare Function QuickSend Lib "psSendMail" (ByVal Host As String, 
ByVal strFrom As String, ByVal SendTo As String, ByVal Subject As String,
ByVal MsgText As String) As Long
 
Declare Function Connect Lib "psSendMail" (ByVal xHost As String) As Long '
;0 (Connected) -1 (Not Connected)
Declare Function InitMsg Lib "psSendMail" (ByVal xHost As String, 
ByVal xmsgFrom As String, ByVal xmsgTo As String, ByVal xCC As String,
ByVal xBCC As String, ByVal xSubject As String) As Long '
;0 (No Error) -1 (No Host specified) -2 (No from e-mail address supplied) -3 (No send to e-mail address(es) supplied)
 
Declare Function Attach Lib "psSendMail" (ByVal xFilename As String) As Long '
;0 file found, -1 couldn't find file to attach
Declare Function SendMsg Lib "psSendMail" (ByVal xMsgText As String) As Long '
;0 (No Error) -1 (MsgText is blank) -2 (Error occurred while sending message)
Declare Function Quit Lib "psSendMail" ()

--
Mike Prestwood
Prestwood IT Solutions

 Posted 18 years ago
Comment Quote
About Mike Prestwood -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Mike Prestwood

Mike Prestwood is a drummer, an author, and creator of the PrestwoodBoards online community. He is the President & CEO of Prestwood IT Solutions. Prestwood IT provides Coding, Website, and Computer Tech services. Mike has authored 6 computer books and over 1,200 articles. As a drummer, he maintains play-drums.com and has authored 3 drum books. If you have a project you wish to discuss with Mike, you can send him a private message through his PrestwoodBoards home page or call him 9AM to 4PM PST at 916-726-5675 x205.

Web Presence
Facebook, Prestwood IT Facebook page -- fan page. (Visit Me)
Twitter, Follow Prestwood IT on Twitter. (Visit Me)
LinkedIn, Prestwood IT company page on LinkedIn. (Visit Me)
YouTube, Prestwood IT YouTube Channel (Visit My Channel)
Website, My drum website where I sell my drum books. (http://www.play-drums.com)

Post ID #7158 (Level 1.1)  Reply to 7156
Thread Started 7/30/2002 10:11:00 AM
View Counter=2
Last Reply Posted 4/21/2009 9:26:29 AM)
Location=Prestwood IT office in Citrus Heights, CA 
Joined=20 years ago   MB Posts=1410   KB Posts=1805   KB Comments=69   BLOG, Topics=4  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1202A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #7156 Counter
3546
Since 4/2/2008

Follow PrestwoodBoards on: 


©1995-2020 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech