SMTPSend problems on Mac

Doug Easterbrook doug at artsman.com
Thu Dec 18 11:34:25 EST 2014


put in breakpoints in the status proc.. and then inspect #S1 ...

the documentation says thats where SMTP send puts stuff.

Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at artsman.com
http://www.artsman.com
Phone (403) 536-1205    Fax (403) 536-1210

> On Dec 18, 2014, at 8:28 AM, Bob Fiering <bob at maxolution.nl> wrote:
> 
> Hi Doug and Kelly,
> 
> Thanks for replying.
> I made in the same object where the SMTP Send routine is a stsproc method and tried both methods you were mentioning.
> The strange thing is the the response is empty.
> In case from Doug’s solution an empty iSMTPconversation.
> In Kelly’s solution a list with two empty rows.
> 
> When using the working gmail settings the info is also empty.
> Only the list has in this case 3 empty rows.
> 
> Suggestions?
> 
> regards,
> 
> Bob
> 
> 
>> On 18 Dec 2014, at 15:42, Kelly Burgess <kellyb at montana.com> wrote:
>> 
>> Hi Bob,
>> 
>>> But their own mail account (running at a web/mail server provider) gives problems.
>>> I tried to add portnumbers like 587 or 465 to their smtp server address but no luck.
>>> The same error -1034.
>>> 
>>> Anyone any idea.
>> 
>> Use the statusProc parameter to record a trace, and look at the differences where you succeed vs where you fail.
>> 
>> SMTPStatus method (in a code class)
>>    If #L1.$cols.$count<>1
>>      Do #L1.$define(#S1)
>>    End if
>>    Do #L1.$add(#S1)
>> 
>> or more simply just
>>  Calculate #S2 as con(#S2,chr(13),#S1)
>> 
>> and you'll see the negotiations in #L1 or #S2 after SMTPSend completes.  That could help you identify why the server is unhappy.
>> 
>> Kelly
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com



More information about the omnisdev-en mailing list