| | |
Problem with CDOSYS (email)
Please support our ASP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
Hi,
I have the following code:
When I use the above code I do not get an email sent to me.
Any ideas?
pG
I have the following code:
ASP Syntax (Toggle Plain Text)
<% Dim myMail Set myMail=CreateObject("CDO.Message") myMail.Subject="Information from website" myMail.From="mymail@hotmail.com" myMail.To="someone@hotmail.com" myMail.TextBody="This is the information I want to email" myMail.Send set myMail=nothing %>
When I use the above code I do not get an email sent to me.
Any ideas?
pG
purpleGERBIL
Hi,
I don't get an error but found out what the problem is.
It is the hosting company. I had to use an email address for the 'From' that included my domain.
i.e domain: www.purplegerbil.co.uk email: noreply@purplegerbil.co.uk.
I don't get an error but found out what the problem is.
It is the hosting company. I had to use an email address for the 'From' that included my domain.
i.e domain: www.purplegerbil.co.uk email: noreply@purplegerbil.co.uk.
purpleGERBIL
![]() |
Similar Threads
- IIS6 mail config question (Windows Servers and IIS)
Other Threads in the ASP Forum
- Previous Thread: how to export results from form as txt file
- Next Thread: please help syntax error
| Thread Tools | Search this Thread |
archive asp asp.net aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection connection database databaseconnection dreamweaver excel fso iis msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption single specfic sqlserver sqlserverconnection windows7





