3 Replies - 2444 Views - Last Post: 12 August 2011 - 03:16 AM

#1 November-06  Icon User is offline

  • D.I.C Regular

Reputation: 46
  • View blog
  • Posts: 391
  • Joined: 04-January 11

SMTP Error

Posted 11 August 2011 - 11:32 PM

I am sending mail to a concerned person after a process is completed.

I am encountering no error with the process but in the sending of mail, the program is catching this error:

Transaction failed. The server response was: Mail from _______ for policy reasons.

I am new with SMTP and this project is passed to me from another programmer whom I do not know.

I just want to ask what could have arouse for this error to occur and how do I fix it?
Is This A Good Question/Topic? 0
  • +

Replies To: SMTP Error

#2 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1002
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: SMTP Error

Posted 12 August 2011 - 02:37 AM

Mail from ________ ?????? for policy reasons.

What was the full message (exclude the email address but not the important part)? I'm assuming it was simply Mail from email@address.com rejected for policy reasons.?

If so, show us your code for sending the email, you could be doing something that's considered unfriendly. Otherwise you need to contact their email hosting provider and find out what the hell is happening :)
Was This Post Helpful? 0
  • +
  • -

#3 November-06  Icon User is offline

  • D.I.C Regular

Reputation: 46
  • View blog
  • Posts: 391
  • Joined: 04-January 11

Re: SMTP Error

Posted 12 August 2011 - 03:05 AM

the underline is for the server address with the email. I don't need to show you the full path do I?
Was This Post Helpful? 0
  • +
  • -

#4 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1002
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: SMTP Error

Posted 12 August 2011 - 03:16 AM

Showing us your code would help.

Chances are you have either:
1; A bad word in the message.
2; A recipient that doesn't exist.
3; A header that should be set that isn't (or vice versa).

Do you know who hosts your recipients email?

Although thinking about it it could even be your sending mail server, is it?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1