Limitations on SMS messages sent using free email->SMS gateways

The email-to-SMS gateways are generally reliable, given a few conditions (read below). Whether you should use an email-to-SMS gateway or an actual third-party provider depends on the application. If you’re going to need a lot of control over the formatting of the messages, collecting replies, etc., then go with a third-party provider. If it’s a … Read more

How to send an email through iOS simulator?

You have to rely on the iOS that the MFMailComposeResult that is handed back in mailComposeController:didFinishWithResult:error: is correct. The simulator fakes that result; no actual mail is sent although it says MFMailComposeResultSent. The tutorial mentioned misses an important point: The first thing you should do before using MFMailComposeViewController is to check [MFMailComposeViewController canSendMail]. That will … Read more

EmailBackend for sending email through multiple SMTP in Django

If you want to override the provided settings you can just create your own connection and provide it to send_email or EmailMessage from django.core.mail import get_connection, send_mail from django.core.mail.message import EmailMessage # TODO: Insert clever settings mechanism my_host=”” my_port = 587 my_username=”” my_password = ” my_use_tls = True connection = get_connection(host=my_host, port=my_port, username=my_username, password=my_password, use_tls=my_use_tls) … Read more

Open default mail client along with a attachment

We can make use of the fact that most email clients support the .EML file format to be loaded. So if we Extend the System.Net.Mail.MailMessage Class in a way that it can be saved to the filesystem as an .EML file. The resulting file can be opened with the default mail client using Process.Start(filename) For … Read more

Line-height not working in Outlook 2010 for HTML Email

I use a combination of inline CSS to control line-height: <p style=”padding:0px;margin:0px;margin-auto:0px;mso-line-height-rule: exactly;line-height:110%;font-size:11pt;”>paragraph text</p> The key element is the Microsoft proprietary CSS attribute, mso-line-height-rule: exactly;. The padding just prevents the paragraph tags from creating unnecessary space.

UIActivityViewController – Email and Twitter sharing

For adding subject to the email using UIActivityViewController on iOS6, this is the best solution that anyone can use.. All you have to do is call the following while initializing UIActivityViewController. UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:applicationActivities]; [activityViewController setValue:@”My Subject Text” forKey:@”subject”]; And your UIActivityViewController is populated with a subject.