Página 1 de 1

Blat Mail GPF

Publicado: Mar Jul 15, 2008 5:24 am
por Nick Hilder
Howdy Gents
I am trying to use Blatmail with the latest Xailer. (1.9.6)
I have downloaded Blatmail from the website.
blat.dll version is 2.6.2 Modified on 25/02/07
I have included this at the top of my prg
#include "Blatmail.ch"
My code looks like htis
Local oMessage
WITH OBJECT oMessage := TBlatMail():New()
:aReceipts := {"myemail"}
:cAddress := "myemail"
:cBody := "Hello World"
:cServer := "myserver netbios name"
:cSubject := "This is a blat email "
:nPort := 25
:nType := btHTML
:Create()
END
If ! oMessage:Send()
LogDebug("Blat Error: " + Str(oMessage:nError))
EndIf
It fails on the send method
I added the BlatMail.prg into my project to try and debug it, but it fails
in the C code ...
Here's the error
#1: GPF (Code = c0000005):
Access violation
TBLATMAIL:SENDMAIL (0)
TBLATMAIL:SEND (130)
ORDERCOMPLETE (1052)
PICKLISTOPTIONS (838)
PICKLIST (423)
SHOWPICKLIST (330)
SELECTPICKLIST (264)
PICKMENU (74)
MAINMENU (874)
STARTUP (415)
MAIN (199)
I have the dll in the same folder as my exe.
I can see the execution enter the XA_FUNC_STATIC( XBLATMAIL_SENDMAIL )
function buts thats as far as i go..
Nick