in reply to USING CDONT

You can access CDONTS with Win32::OLE, IIRC. I started to use it for automating emails on Windows, but ended up using Net::SMTP instead. Our requirements are pretty basic so that suffices.

CDONTS can be used with VBScript:

set ar = wscript.Arguments toaddr = ar.item(0) subject = ar.item(1) body = ar.item(2) Set objCDOMail = CreateObject("CDONTS.NewMail") objCDOMail.From = "mail@someplace.com" objCDOMail.to = toaddr objCDOMail.Subject = subject objCDOMail.Body = body objCDOMail.Send
If you do a SuperSearch on cdonts here, you should be able to locate an example that describes using Win32::OLE.

update: Here is the node that I was thinking of when I looked at this question: Mail with CDONTS.


"Ex libris un peut de tout"