views:

135

answers:

2

Dear All,

I hosted my website on Godaddy shared linux environment and using PHP simple mail function to send emails to the registered users .But in some cases the email is not going and also I am crossing daily limit 1000 emails some times . I send maximum 1500 emails . Is there any way I can use google smtp server in PHP code there in Godaddy to send emails? I mean connecting to google smtp server using gmail credentials in PHP at Godaddy end and sending emails through google instead using Godaddy simple PHP mail function

Thanks a lot for your help

Regards Bujji

A: 

Take a look at the Advanced Example using Gmail in PHPMailer although you will need to check what the rate limit is with gmail (also bare in mind emails will come from your gmail address, it will ignore any other email address you try and spoof it from).

fire
unfortunately even the port 587 is blocked looks like . I am totally struck ....
Bujji
Take a look at http://www.authsmtp.com/ you can use the regular port and send as many emails as you like.
fire
Thanks for your response , Daily 1500 mails costing me 800$ per year . even if I send first 1000 through Godaddy and remaining from this server it costs 250$ . I tried bluehost but concurrent database connections are too low . I am digging more
Bujji
Have you considered just using a mass mail service like mailchimp.com? They have an API so you can even automate it.
fire
Thanks for your response . I think this looks okay to me . I am in fact checking for dedicated servers with unlimited mailing . Once again Thanks a lot for your response
Bujji
A: 

I tried this configuration and was never successful because of GoDaddy's blocking of ports. Check out this question for more information: http://stackoverflow.com/questions/1225103/sending-email-through-gmail-smtp-on-godaddy

Christopher Altman
true , I tried different ports but none working
Bujji