Jump to content

Some email questions


rockinaway

Recommended Posts

I have a few questions about using the mail() function:

 

1) How can I have it so that when a person receives an email from my website the 'From' bit just shows the website name and no email address

2) How can I include stylesheets or any kind of styling?

3) Is there any way to prevent emails being filtered out as suspicious or unsafe? I haven't got any malicious information or code so I was wondering what could trigger this to happen?

 

 

Link to comment
Share on other sites

for your q1

	$headers.= 'From: sitename.com <no-reply@sitename.com>' ."\r\n";

if you remove '<no-reply@sitename.com>' will not show any eamil address or you can keep the word no reply.

q2.  I am not sure CSS can be used.

q3. depend on receiver mail setting

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.