[REBOL] Re: sending e-mail as another user
From: btiffin:rogers at: 10-May-2007 2:06
Hi John
%blast.r is for sending %letter.txt to a csv list of addresses and names
in %names.txt. The edits to %blast.r just modifies some of the header
fields, not the account.
If you've got it all set up %blast.r uses the SEND command from the
account REBOL is running from. SET-NET accepts
[email smtp-host pop-server proxy-server proxy-port proxy-type esmtp-user
esmtp-pass] It's the first, second and last two fields you'll want to tweak
for the SEND to send through a different account. You can set esmtp-user
to 'ASK to get prompted for username and password. (Assuming a 2.7.5 REBOL
version), but it sounds like you may want to automate this, in which case
you either hardcode the password in clear text or to obfuscate it a little
bit, try set-net compose [... esmtp-user (to string! decloak copy
#{datayoucutandpastefromencloak} "cloakkey")] At least now you only expose
the password to people that know REBOL.
%blast.r is really meant for sending form letters, and can be abused for SPAM.
Along with following Anton's trace/net advice look in the same default
directory for files of the form %blast-10-May-2007-0.txt to see if %blast.r
is working.
Also check
http://rebol.com/docs/core23/rebolcore-13.html#section-9
For more info on sending email.
Cheers,
Brian
On Wednesday 09 May 2007 16:55, John Blake wrote: