How do I stop getting '550 relay not permitted' in Perl?
-
I've copied a small program from the internet so I can send emails using Perl, but after changing the email address and smtp I keep getting 'RCPT TO: error (550 relay not permitted)' What does this mean and how do I stop this error? This is the code I have #!/usr/local/bin/perl use Mail::Sendmail; unshift @{$Mail::Sendmail::mailcfg{'smtp'}} , 'mail.MyServer.com'; %mail = ( To => '[email protected]', From => '[email protected]', Message => "Test" ); sendmail(%mail) or die $Mail::Sendmail::error; print "OK. Log says:\n", $Mail::Sendmail::log; Thanks for your help. Tim
-
Answer:
check your mail server and make sure it allows relaying. If you dont have access to mail server then you need to talk to the server admin.
tim85a at Yahoo! Answers Visit the source
Related Q & A:
- How do I stop receiving all the emails from a Yahoo Group that I've unsubscribed from?Best solution by Yahoo! Answers
- How do I stop getting all those emais from yahoo groups?Best solution by Yahoo! Answers
- How can I stop a player in chess from freezing my game when I am winning in the middle or at the end of a game?Best solution by chess.com
- Am I Crazy how do i stop being self conscience?Best solution by Yahoo! Answers
- Whenever I get a runny nose, I bleed from my nose. How can I stop this?Best solution by healthtap.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.