Skip navigation.
 
mlRe: How to send email without using email client
FROM : j o a r
DATE : Fri May 09 20:03:40 2008

On May 9, 2008, at 10:48 AM, Jens Alfke wrote:

> You can also send mail pretty easily by using NSTask to invoke /usr/
> bin/sendmail — the parameters are pretty simple, check the man page. 
> Normally I'm not a big advocate of getting things done by running 
> Unix commands, but in this case the alternatives are all pretty 
> complex and involve a lot of 3rd party code.



This is typically a bad idea for another reason: With the amount of 
spam in circulation today, many - If not most - mail servers now flat 
out reject email that is not sent from reputable mail servers, where 
by reputable I mean a combination of:

   * Is not flagged as a spam relay
   * Doesn't live on a dynamic IP block
   * Has valid reverse pointer DNS configured
   * Pass SPF validation
   * et.c.

I think that the only safe approach is to use existing mail servers, 
either one that the user provides, or one that your company / 
organization can provide for the purpose of supporting your 
application. This still leaves the original question unanswered of 
course...

This is a very good "third party opportunity" for someone who would 
like to make a name for themselves in the Cocoa community - much like 
Sparkle, Growl, et.c.

j o a r

Related mailsAuthorDate
mlHow to send email without using email client vinitha May 8, 11:52
mlHow to send email without using email client vinitha ks May 8, 12:10
mlRe: How to send email without using email client August Trometer May 8, 15:24
mlRe: How to send email without using email client Sherm Pendley May 8, 16:26
mlRe: How to send email without using email client Torsten Curdt May 8, 16:52
mlRe: How to send email without using email client Jens Alfke May 8, 17:10
mlRe: How to send email without using email client Jim Turner May 9, 00:14
mlRe: How to send email without using email client Shawn Erickson May 9, 00:56
mlRe: How to send email without using email client Chris Suter May 9, 02:58
mlRe: How to send email without using email client Torsten Curdt May 9, 10:02
mlRe: How to send email without using email client Buddy Kurz May 9, 16:44
mlRe: How to send email without using email client Mike Abdullah May 9, 16:52
mlRe: How to send email without using email client Buddy Kurz May 9, 17:08
mlRe: How to send email without using email client Torsten Curdt May 9, 17:45
mlRe: How to send email without using email client John Stiles May 9, 18:12
mlRe: How to send email without using email client Jens Alfke May 9, 18:38
mlRe: How to send email without using email client David Hoerl May 9, 18:42
mlRe: How to send email without using email client Ilan Volow May 9, 18:58
mlRe: How to send email without using email client Jens Alfke May 9, 19:48
mlRe: How to send email without using email client j o a r May 9, 20:03
mlRe: How to send email without using email client Jason Stephenson May 9, 20:48
mlRe: How to send email without using email client Jens Alfke May 9, 21:22