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.
Send email
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Send email
Try:
EMGFUNCTION 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.
*/
Re: Send email
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
do you have ct.lib for send me if it work for you.
best regards.
manolo
Re: Send email
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.
thanks.
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Send email
Works fine here using latest xHarbour from CVS.
EMG
EMG
Re: Send email
Hello enrico, I will can use the last xharbour with fwh 7.10. or only I get the tip.lib.
thanks.
Manolo
thanks.
Manolo