Objective-C
Objective-C
Create Email with Embedded Link
Creating an email with an embedded link (HTML hyperlink).Chilkat Objective-C Downloads
#import <CkoEmail.h>
#import <NSString.h>
CkoEmail *email = [[CkoEmail alloc] init];
// To create an email with an embedded link, use HTML:
NSString *html = @"<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...
NSString *mime = 0;
mime = [email GetMime];
NSLog(@"%@",mime);