View Full Version : Welcome Message on Creation of new Account
Telfie
06-17-2003, 09:40 PM
In the creation of the new account, it allows you to edit the welcome message that is emailed to the new account holder.
I have attempted to edit this and use HTML to emphasis various sections of the welcome letter. Could you advise if this is possible at all due to the fact that the tests that I applied do not let me "style" the email to the new account.
DirectAdmin Support
06-17-2003, 10:51 PM
Hello,
To make your email client parse html tags, special headers have to be sent along (I'm pretty sure). Currently there is nothing like that in the headers. If its an easy fix, like just adding a header, I'll see if I can get it to work.
John
Telfie
06-17-2003, 10:55 PM
ok ... tah ...
I have created the headers but I don't have them on hand at this particular time. I will post the info for you later ... about 4hrs.
The Prohacker
06-17-2003, 10:57 PM
Needed headers for MIME compliance :D
MIME-Version: 1.0
Content-Type: text/html
Telfie
06-17-2003, 11:04 PM
Note that with php ... you may also need
From:
Reply-To:
phpversion:
in the headers too ... depending on the security setup.
I know in the case of our host, it is a must to have a VALID email account in the From header in the form of 'Email-Display-Name <email@domain.com>'
I will post the headers I have set up later.
Telfie
06-18-2003, 06:59 AM
As promised .... the header code for the messages ....
From: Display Name <support@domain.com>\n
Reply-To:email1@domain.com\n
Bcc:email2@domain.com\n
Bcc:email3@domain.com\n
Content-Type: text/html\n
X-Mailer: /PHP".phpversion();
DirectAdmin Support
06-18-2003, 01:40 PM
Hello,
I've added the headers and they work great... except the fact that newlines mean nothing in html.. so you email becomes one big long string unless you add all the <br> tags. If I were to do this, it would mean that all people with custom welcome emails would have their welcome messages all messed up... not to mention all of the email messages that DirectAdmin sends out.
When a "safe" solution to the problem can be found, ill uncomment the headers from the code :)
John
DirectAdmin Support
06-18-2003, 02:25 PM
Ok, brainwave...
The message of an html email must start with <html> or <HTML>, then the html headers will be sent.
Will be in 1.09 (today maybe)
John
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.