Subj : issues sending mail via sub['mail'], debugging info requested
To   : Khelair
From : Digital Man
Date : Sat Dec 20 2014 06:24 pm

 Re: issues sending mail via sub['mail'], debugging info requested
 By: Khelair to All on Fri Dec 19 2014 06:47 pm

>   Okay, so as per echicken (I believe it was, my apologies if I'm wrong
> here), I got the following debugging information on why my mail to the
> sysop (and presumably anyone else, though I haven't tried implementing that
> yet) isn't working.  He specifically requested a dump of the message
> header.  Here's what I'm putting into that object, and a brief explanation
> of how some are arrived at:
>
> mHdr values:
> from       :  Khelair (from user.alias)
> to         :  Khelair (selected by code at this point from sysop.alias)
> subject    :  'dDOC Posting' (using a static subject for all messages at
> this
>                               point in my code version)
>
>   As I mentioned before, I get success from the attempt to save the message
> with the body as the second argument to dMB.save_msg(), with mHdr as above
> as the first argument.  It never shows up in a personal mailbox, though; I
> can only access it if I go into 'all system mail' as a sysop.

Email has to have the to_ext property set to the destination user's number
(e.g. '1' for the sysop, user #1).

See http://synchro.net/docs/jsobjs.html and http://synchro.net/docs/smb.html
for details.

>   aaaand I'm seeing other ones sitting in the queue there, too, presumably
> from other messages I've tried to save to the base using code 'mail'.  I'm
> going to check and see if I can manually override anything that might be
> forcing its processing as a form of NetMail, but any tips are greatly
> appreciated, still, as well.

I don't see anything suggesting that the message is being processed as NetMail.

                                           digital man

Synchronet "Real Fact" #41:
Rob Swindell was laughed out of a FidoNet Net103 (OC, Calif.) meeting in 1992.
Norco, CA WX: 55.3�F, 80.0% humidity, 4 mph WNW wind, 0.00 inches rain/24hrs

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net