e-mailadresses
Posted:
Sun Feb 07, 2010 4:17 pm
by jds
can someone tell me if it is possible to incorporate e-mailadresses in xbase++ fields and to use them to send emails from.
Re: e-mailadresses
Posted:
Sun Feb 07, 2010 9:32 pm
by James Bott
Yes. Search the forum for email, smtp, and mapi for more information.
Regards,
James
Re: e-mailadresses
Posted:
Tue Feb 09, 2010 12:08 pm
by driessen
Hi,
That looks very interesting.
Can you provide us an example of how you handle the integration ?
Thanks a lot in advance.
Re: e-mailadresses
Posted:
Tue Feb 09, 2010 7:32 pm
by The Real Fasi
OIMAP := TOLEAUTO():NEW( "MAILBEE.IMAP4" )
OIMAP:LICENSEKEY := CMB_MAILKEY
OIMAP:SERVERNAME := CSERVER
OIMAP:USERNAME := CACCOUNT
OIMAP:PASSWORD := CPASSWORD
OSMTP:ENABLELOGGING = .T.
OIMAP:ENABLELOGGING := .t.
OIMAP:CONNECT( CSERVER )
OIMAP:SELECTMAILBOX( cFolder )
envelopes := OIMAP:RetrieveEnvelopesEx( 1, OIMAP:MessageCount, .F., .T., .f. )
EvelopesArr := OIMAP:RETRIEVEENVELOPES( 1, 25000, .T. )
OIMAP:DISCONNECT()