Something I found is you have to have a valid email format in the from...
objSendMail.From="[EMAIL PROTECTED]"
This may not always be true but it's worth a shot. I had issues using CDONT
and CDO and that usually fixed it but no guarantees
---- Portman <[EMAIL PROTECTED]> wrote:
Thanks Todd. It looks like it worked - just waiting to see if the
e-mail came through. It doesn't look like the e-mail is coming through
- any idea what I should check??
Riva
Todd Richards wrote:
> May be possible that they updated their server to Windows 2003 (and didn't
> change their website info), which doesn't support CDONTs (ok, it does but
> not by default). You can try using CDO instead and see if that works. Here
> is how your script would look using CDO:
>
>
> Dim objSendMail
> Set objSendMail = Server.CreateObject("CDO.Message")
> objSendMail.To ="[EMAIL PROTECTED]"
> objSendMail.From ="Barbara Payne"
> objSendMail.Subject = "New Newsletter Subscription"
> objSendMail.HTMLBody = body ' can be replaced with TextBody for plain text
> messages
> objSendMail.Send
> Set objCDOMail = Nothing
>
> HTH,
>
> Todd
____ The WDVL Discussion List from WDVL.COM ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.
____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.