Mime-Version: 1.0
Content-Type: text/plain; charset=cp437
Content-Transfer-Encoding: 8bit
X-URL: http://www.flora.org/lynx-dev/html/month032000/msg00018.html
X-Mailer: Lynx, Version 2.8.3dev.20
In-Reply-To: <[EMAIL PROTECTED]>
Subject: Re: lynx-dev Spooling and MAPI with lynx.exe
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]


The following changes to LYMail.c and lynx.cfg will give you a quick and
dirty version of MAPI sendmail for lynx.exe under Windows.  Invoking
the mailto:[EMAIL PROTECTED] URL will then pass the subject to the Windows
system mailer. The following is not a patch, but a rough suggestion
for the Windows lynx developers.
========================================================================

; Line 1735, LYMail.c
;
#ifndef MAPI
 sprintf(user_input, "%s%s %s", editor, editor_arg, my_tmpfile);
#else
 sprintf(user_input, "echo ### > %s", my_tmpfile);
#endif

; Line 2042, LYmail.c
;
#ifdef MAPI
  StrAllocCat(command, "\" -s \"");
  StrAllocCat(command, subject);
#endif

You also add the following line in lynx.cfg to replace your original
sendmail or blat command:

SYSTEM_MAIL:sendmail -f [EMAIL PROTECTED] -h your.net -m XMAPI -r smtp.your.net

###


Reply via email to