Creating mails in the mail.box

I’m trying to create emails that have a different sender e.g. noreply@mydomain.com

I’ve created a memo directly in the mail.box and this mail includes my yahoo, hotmail and work email addresses in the send to and cc fields.

This successfully sends to my yahoo and work account (this is an exchange system) with the email looking as though it came from the noreply address.

However, my hotmail account will not receive any mails done like this.

If I use the mailsend method that will go through to the above accounts but unfortunately says ‘sent on behalf of…’

Anyone know why this is? Is there any particular field that hotmail expects to see?

The thing is, when I do a reply all from the accounts that receive the mail my hotmail account then gets it so I know that I’ve got nothing wrong with the address.

Thanks for any help to solve this annoying problem.

Subject: Re: Creating mails in the mail.box

This sounds like a Hotmail issue.

There are any number of reasons various ISPs reject email messages (usually in an attempt to filter out Spam). I’d pursue that issue a bit.

Subject: Re: Creating mails in the mail.box

You’re not supposed to create messages directly in the mail.box and it’s not supported. That said, my help desk does just that and it’s the only way you can have full control over the message. I just tested with Hotmail and it worked fine. Can you send regular emails to Hotmail (it’s not a server setup or DNS thing is it?) What fields are you setting? It’s possible you’re missing something. In the agent I use to create the message I set:

response.PostedDate

response.Form=“Memo”

response.Principal

response.From

response.Recipients

response.SendTo

response.Subject

Set rtbody = New NotesRichTextItem( response, “Body” )

I know I set both Recipients and SendTo (to the same value) as well as Principal and From. Don’t remember why I did that exactly, but it works.

[BTW, if you respond to this it’s more likely (I’ll see it if you keep the subject the same or similar!)

Subject: supoprted way of doing it

There is a supported way of achieving this goal without the downsides of the unsupported method.You can see a complete example here:

Search for a section called

How can I change the apparent sender of agent generated mail?