I can send mail to aol users, but my LS agent cannot?

I have a LS agent that runs weekly to send reports to our salesmen. All of our salesmen receive these reports fine - except for 2 of them, which have aol.com accounts. The server does not show any errors when the messages are sent, and there are no messages stuck in mail.box.

Furthermore, if I send a message myself (from Notes) to their address, they receive it fine.

These are the fields I set for the weekly reports:

Set doc = db.createdocument

doc.Form = “Memo”

doc.From = “jsmith@acme.com

doc.SentBy = “jsmith@acme.com

doc.Principal = “CN=John Smith/O=ACME”

doc.CopyTo = “jsmith@acme.com

Call doc.Send(False,sendto)

Any ideas? What am I missing that is keeping aol users from getting the messages created by my script?

Subject: RE:YES. maybe, I’m not alone

I’m having a similar issue. We can send fine manaually to AOL, and the agent email goes perfectly to dozens of internet addresses(yahoo, compuserve, msn, etc), but email from the agent to AOL won’t go through. It rejects with this error:“Error transferring to mailin-03.mx.AOL.COM; SMTP Protocol Returned a Permanent Error 554 TRANSACTION FAILED”.

What’s weird is that if I manually forward the message, it won’t go through either. It’s NOT something in the header fields: if I copy the body and subject to a new email and send, it rejects as well. It looks like there’s something in the subject or Body that AOL is rejecting.

We have all the proper reverse DNS entries, Mailx records, etc.

I’m ‘working’ with aol on this but, it’s not going very quickly. I’m still waiting for a response from them.

In a word: ARGHHH!

Subject: RE:Example Email (I’ve changed some of the text to hide the client)

To: Somebody@aol.com

cc: XXA Reassessment XXA_Reassessment.XXA@xxa.state.aq.us

Date: 07/16/2004 04:21:17 PM EST

Subject: An XXA Reassessment has been approved for tax ROAD DISTRICT NO 100A [CM] (9057041) (9057041)

An XXA Reassessment has been approved for tax ROAD DISTRICT NO 100A [CM]

(9057041) (9057041)

You can login here: http://app1.xxa.state.aq.us/appDB.nsf


Note: This is generated by an automatic agent. This message is from Fillage

Application on CN=App1/O=XXA.

Subject: RE:Example Email (I’ve changed some of the text to hide the client)

As an experiment, try signing the agent with a real person’s ID. If that goes through, there could be something in the way the agent is named or the E-mail address that Domino provides for it.

Subject: RE: thanks for the suggestion…

I have tried that (actually with two different people’s IDs), and it still won’t send…

Subject: Craig - RE:YES. I’m not alone!

Sorry - not the same issue, I don’t have any errors in my log, my messages are sent successfully from my end - they just aren’t received.

Subject: True, but they do seem similar…

Subject: I can send mail to aol users, but my LS agent cannot ???

apart from being blocked by aol filtering you can try the following changes;

Set doc = db.createdocument

doc.Form = “Memo”

doc.From = “jsmith@acme.com@notesdomain

doc.SentBy = “jsmith@acme.com@mynotesdomainname

doc.Principal = “jsmith@acme.com@mynotesdomainname

doc.CopyTo = “jsmith@acme.com

Call doc.Send(False,sendto)

from is auto generated and cannot be overridden, if sent by an agent it will contain the signers name.

if you use internet addresses in sentby or principal always include your own notes domain name on the end, ie if your notes domain is MYCOMPANY then you need to add @mycompany

you may also want to consider using BlindCopyTo instead so you don’t flood the SendTo field with loads of addresses (there are limits before it will be seen as spam)

Subject: agent fields

Thanks, Raymond, but in an earlier post, I mentioned that I slightly misrepresented my problem. Actually, I cannot send mail to these aol users (directly from Notes). I was successful sending them an email, but it was thru a different server. (which of course, proves nothing)

So, if I can figure out how to get them a normal email message, than I’ll have a better handle on what to fix in the LS agent.

I called AOL, and you can go ahead and laugh because as you would expect, I got no help whatsoever from their tech support people. (but I had to try)

So, I’m still stumped…

Subject: RE: agent fields

Try including INetFrom with the email address, as well as Principal, From, SMTPOriginator.

Subject: I can send mail to aol users, but my LS agent cannot ???

There are working examples in the Agent FAQ (under Resources on the right hand side). The article “Troubleshooting agents in R6” has a section on sending sender (in your sample you are setting values you should not be, like SentBy).

Subject: RE: I can send mail to aol users, but my LS agent cannot ???

My regards, Julie, your stellar reputation supercedes you…

I read the faq, that’s how I knew to use the Principal field, but I set the SentBy field to make sure it had a value - in this case the person to respond to. Since the agent is scheduled, if I don’t set it, would it then get the agent signers name?

If setting this field is the problem, then I won’t do it - anything at this point to get these messages to go thru.

Subject: RE: I can send mail to aol users, but my LS agent cannot ???

You didn’t say whether others on your sales force have non-Notes addresses. It would be nice to know whether the problem is specific to AOL or applies to all internet email.

Try running the LotusScript agent from your workstation (or write a little script to send one email to an aol user). Your script looks OK (as much as you’ve shown). I mean, I think it’s a mistake to have the same email in SendTo and CopyTo fields, there is no Subject field, and there is no Body field, but I don’t see why it wouldn’t send anyway.

If it works for internet email other than AOL, I suspect you’re running afoul of AOL’s spam filter. Perhaps there’s something the sales people can do in their AOL accounts to tell it to accept these messages.

If it doesn’t work for any internet accounts, you might see whether the server that runs the agent is properly configured to send internet email. Check the mail logs on that server for any mail routing errors. When you send an email, it uses your mail server to route it. When a server agent sends email, it uses the email routing settings of the server it runs on.

Subject: Andre - I can send mail to aol users, but my LS agent cannot ???

Yes, the reports all go to non-notes mail users.

I left out much of the script, including the body and subject because I didn’t think they were relevant.

No, there are no mail routing errors. I watched the server log as I sent a message to one of the aol users. All successful.

You made a good point, the message test I sent went through a different server. So, I logged in to the offending server, opened my mail box and sent a message to this one aol user. They did not get it. So, apparently, it may not be my script after all.

What - or how - do I address the “spam filter issue”?

Subject: I can send mail to aol users, but my LS agent cannot ???

Silly thought, but maybe AOL’s spam filters are catching the fact that the email was sent from a machine, not a person (in spite of the SentBy and From fields, it can happen), and the filters are deleting the messages?

Subject: Esther - I can send mail to aol users, but my LS agent cannot ???

How can I confirm this - or more importantly - how do I get around it?

Subject: RE: Esther - I can send mail to aol users, but my LS agent cannot ???

Robert,You said the subject and body were both blank – try putting something in the subject line and body – messages with blank subject lines and/or body are currently being considered spam, and can be caught in the spam filters.

HTH

Pam

Subject: They have values…

Perhaps I mislead you, but I have values set for the Subject and Body, I just didn’t include those lines in my post.

Subject: Re: I can send mail to aol users, but my LS agent cannot ???

The Principal/etc. fields are crucial, but if you can’t send mail to AOL personally then you’re definitely falling under AOL’s spam filters. The “554 Transaction Failed” message is also another symptom of them blocking you.

AOL recently implemented SPF as a means of trying to curb their incoming spam, so you’ll definitely need that set up appropriately. You can find more information at:

http://postmaster.aol.com/spf/

Good luck!