[Coldstuff] External e-mail set up?

Grimslayde grimslayde@lonewolfe.net
Mon, 10 Sep 2001 09:34:15 -0500


    Yup, as usual I figure this out AFTER I send the mail. Thanks for the
reply, though. I peeked into the $admin._reap__mail method and got the gist
of how it's done. After a bit of tweaking on the $smtp object I was able to
send out the mail, just like you said. Luckily I won't need to set up much
beyond that, cuz I won't be accepting mails BACK to the core.
    I did notice that it took all of 19 seconds to execute the mail
sending... will it seriously lag Cold or the server if several mails are
sent out at once?

- Grim



----- Original Message -----
From: "Jeremy Weatherford" <xidus@xidus.net>
To: "Grimslayde" <grimslayde@lonewolfe.net>
Cc: <coldstuff@cold.org>
Sent: Monday, September 10, 2001 9:25 AM
Subject: Re: [Coldstuff] External e-mail set up?


> Heyo,
>
> POP3 is a protocol for retrieving messages from a server, similar to IMAP.
> I'd imagine you're thinking about the SMTP protocol if you're trying to
> send mail from a ColdCore game.  Additionally, you don't need to set up a
> daemon if you're just trying to send mail.  Based on a cursory inspection,
> it looks like all you need to do to send mail is to do a:
>
> $smtp.sendmail(from, to, subject, body)
>
> You may need to do some configuration of the $smtp object first to specify
> your mail server's name.
>
> ColdCore can also be set up to run an SMTP daemon, which allows e-mail to
> be delivered TO the game (presumably for distribution to game characters),
> or a POP3 daemon, which allows game characters to pick up their in-game
> mail via a 'normal' mail client.  Neither of these is necessary to simply
> send mail from the game.
>
> Hope this helps...
>
> Jeremy Weatherford
> xidus@xidus.net
> http://xidus.net
>
> On Mon, 10 Sep 2001, Grimslayde wrote:
>
> > Hey All,
> >     I need to set up the POP3 capabilities of Cold and  - surprise,
> > surprise - I'm clueless as to how to get it done. I've found the
> > $pop3_daemon, $pop3_connection, and $pop3_interface objects. Is it as
easy
> > as setting the $pop3_daemon to listen? And beyond that, can anyone point
me
> > in the direction of programatically sending out e-mails and suchness?
> >
> > Thanks!!!
> > - Grim
> >
> > _______________________________________________
> > Cold-Coldstuff mailing list
> > Cold-Coldstuff@cold.org
> > http://web.cold.org/mailman/listinfo/cold-coldstuff
> >
>
>