Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Oct 25, 2007 10:34 am 
Offline

Joined: Thu Oct 25, 2007 10:29 am
Posts: 1
Google Apps for Administrators
Quote:
If you have a form (using PHP/ASP/etc) on your website that is configured to send a message to your Google Apps email account, but you never receive mail from your website's form, please perform the following tests:

* Send a message to your Google Apps email account from a non-Google Apps personal email account.
* Modify the form to send mail to your Gmail account, or another non-Google Apps personal email account.

If both tests are successful, this issue is most likely caused by mail delivery settings on your webserver. Because your website and your Google Apps email address share the same domain name, the mail agent running on the server that hosts your website thinks that it is responsible for mail addressed to your domain name. This is a typical default setting.

When someone submits the form on your website, the mail agent recognizes your domain name and concludes that it should be sending mail to itself. The mail agent will attempt to deliver the message locally.

To resolve this issue, notify the mail agent running on the server that hosts your website that it is not also responsible for handling mail for your domain. Contact your web host for specific instructions. If you host your own website, contact the support team for your mail server software.


I have this Problem can anyone please suggest a sol? I am using smpt server.


Top
   
 Post subject:
PostPosted: Fri Oct 26, 2007 1:32 pm 
Offline
Senior Newbie

Joined: Tue Nov 30, 2004 10:01 pm
Posts: 17
What exactly is the problem?


Top
   
PostPosted: Thu Jan 03, 2008 5:05 pm 
Offline
Senior Newbie

Joined: Thu Jan 03, 2008 4:47 pm
Posts: 5
Website: http://easilyamusedinc.com
AOL: easilyamusedinc
Location: orlando, fl
do you have a mail server installed on your server? php dose not send mail. it is a tool used to do it but it need something more. im also haveing the same problem and have not found a fix yet. we are installing a mail server now , we are useing google apps for our mail at this point.


Top
   
 Post subject:
PostPosted: Fri Jan 04, 2008 6:56 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
My Python gmail code (less password) for user feedback emails to myself, no mail software installed on my Linode. The details on ports etc. came from google's info on Gmail. This might be helpful as a model.

James

Code:
            # email out
            fromaddr = ""
            if self.CONNECTION.args.has_key('ADDRESS'):
                fromaddr = self.CONNECTION.args['ADDRESS']
            if fromaddr == "":
                fromaddr = "zunzun@zunzun.com"
            toaddrs  = ["zunzun@zunzun.com"]

            # Add the From: and To: headers at the start!
            msg = ("From: %s\r\nTo: %s\r\nSubject: ZunZun.com Feedback Form\r\n\r\n"
                   % (fromaddr, string.join(toaddrs, ", ")))

            msg += "From " + fromaddr + "\n\n"
            msg += dateAndTime + "\n\n"
            msg += self.CONNECTION.args['FEEDBACK']

            server = smtplib.SMTP('smtp.gmail.com', 587)
            server.ehlo()
            server.starttls()
            server.ehlo()
            server.login('zunzun@zunzun.com', 'PASSWORD_GOES_HERE')
            server.sendmail(fromaddr, toaddrs, msg)
            server.quit()


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group