[REBOL] Re: sendmail...
From: chris:starforge at: 15-Feb-2001 17:41
#15-Feb-01# Message from *GS Jones*:
> I am just pondering out loud and am not really answering your question, so
> If I demonstrated my ignorance, and sendmail can be run as needed,
AFAIK it can run in both modes. The hoster I'm interested in expects
you to call it when needed.
> Finally, what I suspect will be the solution you would need if you stick
> with the "hoster" that you have chosen, is to forward the mail to an
> alternative smtp server. Some (many) do not allow for the "from" domain
> name to be different than the accounts for which the smtp is configured
> (ie, avoids some spam sources).
I may try sending a mail with the from: set to my demon address using
demon's smtp, but I don't hold much hope of it working. If it fails another
idea I had - I have *no* idea if this will work:
I write a perl cgi script that takes a recipient address and a filename
from the query string. It loads the filename from the server and invokes
sendmail with the required recipient and the file in the body. When its
done it returns a block of text indicating the status of the operation.
In rebol I do something like
result: read http://www.starforge.co.uk/cgi-bin/emailscript.cgi?...etc..
and then use the contents of result to tell whether the email was sent or
not.. I don't know whether chaining cgi scripts like this will work,
but I'll probably give it a shot once I learn enough perl to try it! :)
New sig in the works
Explorer 2260, Designer and Coder
Take my word for it, the silliest woman can manage a clever man, but it
needs a very clever woman to manage a fool.