Return to Snippet

Revision: 23819
at February 14, 2010 12:24 by domhax


Initial Code
#import "MyHandler.h"

@implementation MyHandler

- (id)renderWithTransport:(BxTransport *)transport {
    NSString *htmlMessage = @"<html><body>This is an <em>HTML</em> message.<br /> &mdash; <a href='http://www.bombaxtic.com'>www.bombaxtic.com</a></body></html>";
    [[BxMailer systemMailer] sendMessage:htmlMessage
                                 subject:@"Html Message"
                                      to:@"[email protected]"
                                    from:@"[email protected]"
                                 headers:[NSDictionary dictionaryWithObject:@"text/html"
                                                                     forKey:@"Content-Type"]];
    return self;
}

@end

Initial URL


Initial Description


Initial Title
Sending an HTML message with Bombax

Initial Tags


Initial Language
Objective C