In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Blat Mail GPF

Xailer professional forum in English
Nick Hilder
Mensajes: 328
Registrado: Mar Nov 21, 2006 2:10 am

Blat Mail GPF

Mensaje 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
Responder