Jump to content

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<admin@mydomain.com>\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<admin@mydomain.com>\n

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

 

My next question is that in the name section in my inbox it says excl209<admin@mydomain.com>  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

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.