Hi, I am trying to use the <@EMAILSESSION> and <@EMAIL> tags to set up an email session but only getting errors. Does anyone have an example how these tags are use with authentication.
The error I am getting is: "Client host rejected: Access denied" here is what I have so far. <@EMAIL import name=request$myemail MESSAGE='Content-Type:multipart/alternative; boundary="<@MIMEBOUNDARY>" MIME-Version: 1.0 Message-Id: <<@RANDOM low=10000 high=99999>.<@TSTOSECS <@CURRENTTIMESTAMP>>@<@VAR request$server_name>> Date: <@CURRENTTIMESTAMP format="datetime:%a, %d %b %Y %H:%M:%S -0500"> To: <<@VAR request$vsending_email_address>> From: "<@VAR request$vfrom_text>" <<@VAR request$vfrom_account>@<@VAR request$vserver_name>> Reply-To: <<@VAR request$vfrom_account>@<@VAR request$vserver_name>> Subject: <@VAR request$vemail_subject> --<@MIMEBOUNDARY> Content-type: text/plain Content-Disposition: inline <@VAR request$vemail_text_body> --<@MIMEBOUNDARY> Content-type: text/html Content-Disposition: inline <@VAR request$vemail_html_body encoding=meta> --<@MIMEBOUNDARY>-- '> <@COMMENT></@COMMENT> <@EMAILSESSION command=open sessionid=<@USERREFERENCE> protocol=smtp server=<@VAR request$vserver_ip> port=25 username=<@VAR request$vfrom_account>@<@VAR request$vserver_name> password=<@VAR vpassword SCOPE=Request>> <@EMAILSESSION command=send sessionid=<@USERREFERENCE> name=request$myemail username=<@VAR request$vfrom_account>@<@VAR request$vserver_name> password=<@VAR vpassword SCOPE=Request>> <@EMAILSESSION command=close sessionid=<@USERREFERENCE> mode=commit> Thanks for any help. Ted ---------------------------------------- To unsubscribe from this list, please send an email to [email protected] with "unsubscribe witango-talk" in the body.
