sending mail through failed

sending mail the following error is showing

delay=06:08:08, xdelay=00:00:00, mailer=esmtp, pri=3180505, relay=alt4.gmail-smtp-in.l.google.com., dsn=4.0.0, stat=Deferred: Connection refused by alt4.gmail-smtp-in.l.google.com.
suraj singhAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tom CieslikIT EngineerCommented:
It looks like you're trying to use google server alt4.gmail-smtp-in.l.google.com to send email through but gmail is not relay server for your IP address so is rejecting request.
You need to use your own server to send email through.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dr. KlahnPrincipal Software EngineerCommented:
Please show us the entire header.  The small segment shown above is not enough to determine what's going on.  Be sure to deface or mutilate any email addresses in the header so that the bots and scrapers can't harvest them from the EE forum archives later on.
0
Dr. KlahnPrincipal Software EngineerCommented:
Without additional information from the questioner, (the complete header) there is not enough information to confirm whether any comment is a solution.  Suggest deletion.
0
Tom CieslikIT EngineerCommented:
Best solution provided. No word from author.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.