• Email

    From Merlin@VERT/CARSO to All on Sun Jan 5 13:03:00 2003
    I am playing with the msgbase.save_msg functions.

    Is there a list of the properties for the hdr ?

    I want to make it send an email from sysop to
    a user and need to know how to pass the users email address to the save_msg funciton so it posts as an email. I have it posting locally (ala the chkspace.js) but where do I uput the email address

    Cheers
    Merlin ---------------------------------------------------------------------------
    Merlin - Sysop of CarSo BBs - telnet://carso.dyndns.org ---------------------------------------------------------------------------

    ---
    þ Synchronet þ CarSo BBs þ Beverley, UK þ telnet://carso.dyndns.org
  • From Digital Man@VERT to Merlin on Sun Jan 5 10:10:00 2003
    Re: Email
    By: Merlin to All on Sun Jan 05 2003 06:03 pm

    I am playing with the msgbase.save_msg functions.

    Is there a list of the properties for the hdr ?

    Not currently.

    I want to make it send an email from sysop to
    a user and need to know how to pass the users email address to the save_msg funciton so it posts as an email. I have it posting locally (ala the chkspace.js) but where do I uput the email address

    If you want it to go out as netmail (Internet e-mail), then you must add the to_net_addr and to_net_type header fields. Example: hdr.to_net_addr="rob@synchro.net";
    hdr.to_net_type=NET_INTERNET;

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Guardian Angel@VERT/NIFTYPLC to All on Sun Jan 5 09:28:00 2003
    On Sun, 5 Jan 2003 18:03:00 LON, "Merlin" <merlin@VERT> wrote:

    I am playing with the msgbase.save_msg functions.

    Is there a list of the properties for the hdr ?

    I want to make it send an email from sysop to
    a user and need to know how to pass the users email address to the save_msg >funciton so it posts as an email. I have it posting locally (ala the >chkspace.js) but where do I uput the email address

    When you create your new message make sure it's referencing the "mail"
    message base, something along the lines of:

    New_mail_object = new MsgBase("mail");

    HTH
    GA

    ---
    þ Synchronet þ I Think It's Nifty BBS- Think a Nifty Thought! - ithinkitsnifty.com
  • From Merlin@VERT/CARSO to Digital Man on Sun Jan 5 19:48:00 2003
    Re: Email
    By: Digital Man to Merlin on Sun Jan 05 2003 03:10 pm

    If you want it to go out as netmail (Internet e-mail), then you must add the to_net_addr and to_net_type header fields. Example: hdr.to_net_addr="rob@synchro.net";
    hdr.to_net_type=NET_INTERNET;
    Thanks, that worked.

    Is there a hdr.from_net_addr or something so I can make the email
    look lik eit has come from a different email address?
    I am using hdr.from="system operator" and it sends it from "system.operator@mydomain"
    I want it to be sent from System Operator (display name) but use the email of merlin@mydomain
    or is there a reply_to bit?

    Cheers
    Merlin ---------------------------------------------------------------------------
    Merlin - Sysop of CarSo BBs - telnet://carso.dyndns.org ---------------------------------------------------------------------------

    ---
    þ Synchronet þ CarSo BBs þ Beverley, UK þ telnet://carso.dyndns.org
  • From Digital Man@VERT to Merlin on Sun Jan 5 19:40:00 2003
    Re: Email
    By: Merlin to Digital Man on Mon Jan 06 2003 12:48 am

    If you want it to go out as netmail (Internet e-mail), then you must add to_net_addr and to_net_type header fields. Example: hdr.to_net_addr="rob@synchro.net";
    hdr.to_net_type=NET_INTERNET;
    Thanks, that worked.

    Is there a hdr.from_net_addr or something so I can make the email
    look lik eit has come from a different email address?

    Yes, there is.

    I am using hdr.from="system operator" and it sends it from "system.operator@mydomain"
    I want it to be sent from System Operator (display name) but use the email o merlin@mydomain
    or is there a reply_to bit?

    Yes, there's also replyto_net_addr and replyto_net_type, but you don't really need to use them if you change the from_net_addr/type.

    digital man

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net