Hi Everyone,
I just using sendmail_h with QtmmSendMail API to send an attachment to one recipient wihout problem. But know i need to send the information to more than one recipient (CC But i don't know the correct way to do it.
Could somebody has an example to learn how to do it?
Example : (Just one RECIPIENT but I need 3 mail more as a CC)
Hope somebody could help.
Best Regards,
I just using sendmail_h with QtmmSendMail API to send an attachment to one recipient wihout problem. But know i need to send the information to more than one recipient (CC But i don't know the correct way to do it.
Could somebody has an example to learn how to do it?
Example : (Just one RECIPIENT but I need 3 mail more as a CC)
PHP Code:
recip(1).NextOffset = %size(ADDTO0100);
recip(1).AddrFormat = 'ADDR0100';
recip(1).DistType = ADDR_NORMAL;
recip(1).Reserved = 0;
recip(1).SmtpAddr = toAddr;
recip(1).AddrLen = %len(toAddr);
QtmmSendMail( FileName
: %len(FileName)
: fromAddr
: %len(fromAddr)
: recip
: %elem(recip)
: NullError );
Best Regards,
Comment