Hi Imar,
I wonder if you can help me.
I have set up a contact page and I have it so that it sends the results to an e-mail address that is located in web.config file.
This uses the Global.asax to send the e-mail.
I was wondering if you could tell me how I can set it up so that the contact form sends an e-mail to address 1 whilst the error reports go to email2.
I tried adding a key in web.config called"ErrorAddress" and changing the information in global.asax so that it says:
Code:
Dim myMessage As MailMessage = New MailMessage(AppConfiguration.FromAddress, AppConfiguration.ErrorAddress, mailSubject, message)
but this didn't work.
Could you help please?
Thank you