[SOLVED] Sending templated email messages |
4/6/2012 2:03:43 PM |
ASPRunnerPro General questions | |
M
McGowan author
I am trying to find a way to create good looking HTML emails to be sent when records are added. For example, when someone signs up to be a new user, I want them to receive a nicely formatted email confirming their registration. I want to be able to provide them other information in the email telling them what to expect next and yadda, yadda, yadda. I even want to include our logo in the email. The Manual tells me how to send emails, even HTML emails, and I have gotten that to work but they don't look nice and formatted the way I would like and I can't get them to be longer than one line or contain images. |
|
![]() |
Sergey Kornilov admin 4/6/2012 |
This code should be pretty trivial to convert to ASP. Instead of str_replace() function use Replace function in ASP. |
M
|
McGowan author 4/9/2012 |
Sergey,
|
![]() |
jtksmith 4/10/2012 |
I too have been unsuccessfully trying to make this work. but I'm not sure how to apply that in an event. |
![]() |
Sergey Kornilov admin 4/11/2012 |
file_get_contents is a built-in PHP function. In ASP you need to use any other function that can read the contents of the file into a variable. You can find examples of doing this at http://www.asptutorial.info/learn/OpenReadCreate-files.html (first example). |
![]() |
jtksmith 4/12/2012 |
Sergey, |