Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm using Wordpress and sending email via Gmail SMTP:

  • server: smtp.gmail.com
  • port: 465

I created Google Apps main domain called domain.com and email info@domain.com. Then I registered domain aliases for domain.com.

I have more different domains/sites: domain1.com, domain2.com.

When I try to send email to info@domain.com from Wordpress site (e.g. www.domain1.com), it works. If I try to send email to any alias (e.g. info@domain1.com or info@domain2.com), it doesn't. I don't know why.

For your information, if I try to send email from my Hotmail account it works, I can send to all aliases.

share|improve this question
    
What problem do you see? –  jman Oct 3 '11 at 16:46
    
How is this different from stackoverflow.com/questions/7636921/… –  jman Oct 3 '11 at 16:47
    
Do you have the right MX records set up for domain1.com and domain2.com? –  ceejayoz Oct 3 '11 at 16:52
    
how it differs from my previous question: I already compiled PHP with openssl so now I can send email. This is different question. Now I can send only to main domain registered in google aps, but cannnot send to domain aliases. MX records are ok for those domains . As I said sending from e.g hotmail works ok –  chubbyk Oct 3 '11 at 16:55
add comment

migrated from stackoverflow.com Oct 8 '11 at 1:32

This question came from our site for professional and enthusiast programmers.

1 Answer

You appear to by trying use the Gmail SMTP server as an open relay. Mail servers are no longer configured such that you can send email from anybody to anybody else. I would expect you to be able to use the GMail SMTP server only to send email from your GMail address.

Google may be allowing mail to go through when it is to your own domain, but is dropping other mail as likely spam

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.