homar
08-31-2005, 01:34 PM
hello..Could you help me!. I designed a webpage with forms included, and I was able to send an email with all the information on the forms, but then we changed our email application form Outlook to Lotus Notes 6.5.3. and now when we use the webpage, and press the submit button to send the email with the information an to the database,the email is not send,but there is no error message. This is the asp code I use to send the form information to the email.
<%
Sub send_email(email_from, email_to, email_subject, email_body)
Dim Newmail
Set Newmail = server.CreateObject ("cdonts.newmail")
Newmail.BodyFormat = 0
Newmail.MailFormat = 0
Newmail.From = email_from
Newmail.To = email_to
Newmail.Subject = email_subject
Newmail.Body = email_body
Newmail.Send
Set Newmail = Nothing
End Sub
%>
<%Call send_email("xxxxxx@companyname.com", request.form("T1") ,"Aplication # " & num, "The aplication was made by: " & request.form("T1") & "<br/>" & "Part number: " & Request.form("D11")%>
<%Call send_email("xxxxxx@companyname.com"," xxxxx.xxxx@companyname.com" ,"Aplication # " & num,"The aplication was made by: " & request.form("T1") & "<br/>" & "Part number: " & Request.form("D11")%>
Thanks in advanced...
<%
Sub send_email(email_from, email_to, email_subject, email_body)
Dim Newmail
Set Newmail = server.CreateObject ("cdonts.newmail")
Newmail.BodyFormat = 0
Newmail.MailFormat = 0
Newmail.From = email_from
Newmail.To = email_to
Newmail.Subject = email_subject
Newmail.Body = email_body
Newmail.Send
Set Newmail = Nothing
End Sub
%>
<%Call send_email("xxxxxx@companyname.com", request.form("T1") ,"Aplication # " & num, "The aplication was made by: " & request.form("T1") & "<br/>" & "Part number: " & Request.form("D11")%>
<%Call send_email("xxxxxx@companyname.com"," xxxxx.xxxx@companyname.com" ,"Aplication # " & num,"The aplication was made by: " & request.form("T1") & "<br/>" & "Part number: " & Request.form("D11")%>
Thanks in advanced...