Jump to content

Emailing problems


excl209

Recommended Posts

Hi,

 

I'm a newbie php'er and i have a question... I'm creating a membership system for my website... all the code works fine... entering, updating, querying, etc... the one with it doesn't do is email all the time...

 

The code does work - but the only time was to a @gmail account... i couldn't send to a @yahoo.com, @sbcglobal.net or @icqmail.com

 

I know there are filters on the emails - but how do i bypass them?

 

I'm using the mail() function.

 

Excl209.  ???

Link to comment
https://forums.phpfreaks.com/topic/52824-emailing-problems/
Share on other sites

if it's mailing to gmail, it's likely that the mail() function is working fine, and it's the filters on the inboxes, as you mentioned.

 

Have you checked the spam boxes of those inboxes?

 

if the spam has filtered them off, you could try removing any URLs from the email (that's what triggers the spam on my inboxes anyway!)

Link to comment
https://forums.phpfreaks.com/topic/52824-emailing-problems/#findComment-260905
Share on other sites

I checked the spam... and it wasn't in there... for any of the others...

 

The whole reason I'm sending the email in the first place is to send the url so the user can activate their membership...

 

Is there any way around this?  special code?  different ways to email?

 

Many thanks for you help.

Excl209

Link to comment
https://forums.phpfreaks.com/topic/52824-emailing-problems/#findComment-261266
Share on other sites

This was my code:-

 

mail($email_address, $subject, $message, 

        "From: MyDomain Webmaster<[email protected]>\n

        X-Mailer: PHP/" . phpversion());

 

Strange thing was... if i took out the MyDomain Webmaster... and say put in excl209... it works!!  it now sends to all email addresses... strange huh?

 

mail($email_address, $subject, $message, 

        "From: excl209<[email protected]>\n

        X-Mailer: PHP/" . phpversion());

 

My next question is that in the name section in my inbox it says excl209<[email protected]>  is there any way just to make it excl209 ?!?!?

 

Many thanks,

Excl209

Link to comment
https://forums.phpfreaks.com/topic/52824-emailing-problems/#findComment-261837
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.