Hello ASP'ers. I have appreciated seeing your answers & questions through
the email posts. This, however, is my first post. I have set up a simple
CDO email function for a client, so that they may receive simple emails. It
is mostly hard coded with a few variables. Here is the code:
<[EMAIL PROTECTED]"VBSCRIPT" CODEPAGE="1252"%>
<%
msglname = request.form("lname")
msgfname = request.form("fname")
msgBody = request.form("message")
Set myMail=CreateObject("CDO.Message")
myMail.Subject="This is a customer contact email!"
myMail.To="[EMAIL PROTECTED]"
myMail.From=request.form("email")
myMail.TextBody="this email is from " & msgfname & " " & msglname & vbCrLf &
msgBody
myMail.Send
set myMail=nothing
%>
However, they get about 3 - 5 error emails a day which look like this:
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: This customer would like to join your Mailing List
Sent: Monday, September 19, 2005 10:28 PM
please add [EMAIL PROTECTED] to your mailing list.
Everything is functioning properly, but the "from" is always a mash of
letters followed by the "@spicetradersteas.com".. which is obviously
incorrect. I would greatly appreciate your help with this as I do not know
what to do to fix it & this client needs this fixed immediately. Thanks in
advance.
Jonathan
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/