Unicode C++
Unicode C++
Create Email with Embedded Link
Creating an email with an embedded link (HTML hyperlink).Chilkat Unicode C++ Downloads
#include <CkEmailW.h>
void ChilkatSample(void)
{
CkEmailW email;
// To create an email with an embedded link, use HTML:
const wchar_t *html = L"<html><body><p>Click here for more information: <a href=\"http://www.chilkatsoft.com/\">Chilkat Software</a></body></html>";
email.SetHtmlBody(html);
// Continue building the email by adding the subject, recipients, etc...
const wchar_t *mime = 0;
mime = email.getMime();
wprintf(L"%s\n",mime);
}