Send email

Send email

Postby MANOLO » Mon Feb 23, 2009 4:01 pm

Hello, I could need the class smtp16 the Luis to send and email. somebody could help me.

i can't Send emails by fwh, somebody have a solution.

best regards.
Manolo

Sorry for my english.
MANOLO
 
Posts: 87
Joined: Sun Oct 09, 2005 8:49 pm
Location: Spain

Re: Send email

Postby Enrico Maria Giordano » Mon Feb 23, 2009 4:36 pm

Try:

FUNCTION HB_SendMail( cServer, nPort, cFrom, aTo, aCC, aBCC, cBody, cSubject, aFiles, cUser, cPass, cPopServer, nPriority, lRead, lTrace, lPopAuth, lNoAuth, nTimeOut, cReplyTo )
/*
cServer -> Required. IP or domain name of the mail server
nPort -> Optional. Port used my email server
cFrom -> Required. Email address of the sender
aTo -> Required. Character string or array of email addresses to send the email to
aCC -> Optional. Character string or array of email adresses for CC (Carbon Copy)
aBCC -> Optional. Character string or array of email adresses for BCC (Blind Carbon Copy)
cBody -> Optional. The body message of the email as text, or the filename of the HTML message to send.
cSubject -> Optional. Subject of the sending email
aFiles -> Optional. Array of attachments to the email to send
cUser -> Required. User name for the POP3 server
cPass -> Required. Password for cUser
cPopServer -> Required. Pop3 server name or address
nPriority -> Optional. Email priority: 1=High, 3=Normal (Standard), 5=Low
lRead -> Optional. If set to .T., a confirmation request is send. Standard setting is .F.
lTrace -> Optional. If set to .T., a log file is created (sendmail<nNr>.log). Standard setting is .F.
lNoAuth -> Optional. Disable Autentication methods
nTimeOut -> Optional. Number os ms to wait default 20000 (20s)
cReplyTo -> Optional.
*/


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Send email

Postby MANOLO » Mon Feb 23, 2009 4:50 pm

Hi enrico, thanks, but i have try it, but isn't work, i puted ct.lib but it didn't work.

do you have ct.lib for send me if it work for you.

best regards.
manolo
MANOLO
 
Posts: 87
Joined: Sun Oct 09, 2005 8:49 pm
Location: Spain

Re: Send email

Postby MANOLO » Mon Feb 23, 2009 4:56 pm

sorry i have a mistake is lib tip.lib. the problem is into class turl, When i Send and email the system is blocked in this point.

thanks.
MANOLO
 
Posts: 87
Joined: Sun Oct 09, 2005 8:49 pm
Location: Spain

Re: Send email

Postby Enrico Maria Giordano » Mon Feb 23, 2009 6:24 pm

Works fine here using latest xHarbour from CVS.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Send email

Postby MANOLO » Tue Feb 24, 2009 11:54 am

Hello enrico, I will can use the last xharbour with fwh 7.10. or only I get the tip.lib.

thanks.

Manolo
MANOLO
 
Posts: 87
Joined: Sun Oct 09, 2005 8:49 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 102 guests