Re: Re: Need help-Send email
| From: | Kyle Smith | Date: | Sun, 13 Sep 2009 02:02:24 +0000 |
| Subject: | Re: Re: Need help-Send email | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-46494@lists.php.net to get a copy of this message | ||
I guess I don't know enough about the gmail setup to know for sure, but I imagine GMail's external SMTP server (i.e. the one used to process mail being sent to @gmail.com addresses) isn't intended for people sending mail from their gmail accounts. In which case, it's not going to be thrilled about email coming in claiming to be FROM gmail.com.
I'd have to look more into their setup to be sure, but it's a good rule of thumb to use addresses within your own domain for the From address.
- Kyle
Jack van Zanen wrote:
I thought he said he was using the gmail smtp server? Jack van Zanen ------------------------- This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Thank you for your cooperation 2009/9/13 Kyle Smith <kyle.smith@inforonics.com <mailto:kyle.smith@inforonics.com>>Mail from GMail coming from a non-gmail server? Yes, definately. Do not use @gmail.com <http://gmail.com> in the from address, see how that works.Jack van Zanen wrote:what is the client email filter looking for to classify this as spam?? 1. Mail from GMAIL? Bit rough considering the number of valid users 2. subject "Test mail" ? if so change subject to something more business like 3. message "Hello! This is a simple email message"? I do not think soMost likely culprit is number 2.Jack van Zanen------------------------- This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Thank you for your cooperation2009/9/12 nagendra prasad <nagendra802000@gmail.com> <mailto:nagendra802000@gmail.com>Exactly, the mail-client filter is actively working for such mail. But when I researched on Google I have found that to send an email using PHP we at lest need a mail server domain. Also we have to set SMTP to send email to inbox otherwise every mail-client will filter it and send it to SPAM folder. Also, I am using WAMP to use all these codes so right now I don't have an email server domain or something like that. Is their a way to set my PHP ini file to use my Gmail SMTP and PORT settings so that I can at lest send emails directly to inbox and later I will change it to some other email client.Thanks for the quick response :)