Core APIs
Web
SMTP Send
3 min
sends a mail in html format using the specified server credentials exclude the password parameter for sending mails without authentication to send to multiple people, provide a comma seperated list of emails options description from format sender info to do this ass it in the format "sender" \<sender\@email com> to,cc add comma separated email id's to send to multiple people attachments type text/binary attachemtns content regular text if type is text, or base64encoded binary content if the type is binary api definition { "tab" "examples", "url" "https //orca pathfix com/functions/web/smtpsend", "name" "smtp send api", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" \\"sending async \\",\n \\"size in bytes\\" 209 0\n}", "language" "200" }, { "id" "yix64dyiudpjgbrfsfawb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "28usdqyeh3qrdmtvamsqt" }, "examples" { "languages" \[ { "id" "encjz9tstg38f0x taa4x", "code" "{\r\n \\"input\\" {\r\n \\"settings\\" {\r\n \\"from\\" \\"sender\@domain com\\",\r\n \\"to\\" \\"receipient\@mail com\\",\r\n \\"cc\\" \\"ccto\@email com\\",\r\n \\"host\\" \\"smtp servername com\\",\r\n \\"ssl\\" \\"yes\\",\r\n \\"port\\" \\"467\\",\r\n\t\t\t\\"user name\\" \\"username\\",\r\n\t\t\t\\"password\\" \\"password\\",\r\n \\"subject\\" \\"hello\\",\r\n \\"body\\" \\"from pathfix\\"\r\n }\r\n }\r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "examples", "url" "https //orca pathfix com/functions/web/smtpsend", "name" "smtp send api with user name", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" \\"sending async \\",\n \\"size in bytes\\" 209 0\n}", "language" "200" }, { "id" "yix64dyiudpjgbrfsfawb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "28usdqyeh3qrdmtvamsqt" }, "examples" { "languages" \[ { "id" "encjz9tstg38f0x taa4x", "code" "{\r\n \\"input\\" {\r\n \\"settings\\" {\r\n \\"from\\" \\"\\\\\\"sender\\\\\\" \<sender\@domain com>\\",\r\n \\"to\\" \\"receipient\@mail com,receipient1\@mail com\\",\r\n \\"host\\" \\"smtp servername com\\",\r\n \\"ssl\\" \\"yes\\",\r\n \\"port\\" \\"467\\",\r\n\t\t\t\\"user name\\" \\"username\\",\r\n\t\t\t\\"password\\" \\"password\\",\r\n \\"subject\\" \\"hello\\",\r\n \\"body\\" \\"from pathfix\\"\r\n }\r\n }\r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } { "tab" "examples", "url" "https //orca pathfix com/functions/web/smtpsend", "name" "smtp send api with attachments", "method" "post", "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[], "bodydataparameters" \[], "formdataparameters" \[] }, "results" { "languages" \[ { "id" "28usdqyeh3qrdmtvamsqt", "code" "{\n \\"output\\" \\"sending async \\",\n \\"size in bytes\\" 209 0\n}", "language" "200" }, { "id" "yix64dyiudpjgbrfsfawb", "code" "{\n \\"message\\" \\"error\\"\n}", "language" "404" } ], "selectedlanguageid" "28usdqyeh3qrdmtvamsqt" }, "examples" { "languages" \[ { "id" "encjz9tstg38f0x taa4x", "code" "{\r\n \\"input\\" {\r\n \\"settings\\" {\r\n \\"from\\" \\"\\\\\\"sender\\\\\\" \<sender\@domain com>\\",\r\n \\"to\\" \\"receipient\@mail com,receipient1\@mail com\\",\r\n \\"host\\" \\"smtp servername com\\",\r\n \\"ssl\\" \\"yes\\",\r\n \\"port\\" \\"467\\",\r\n\t\t\t\\"user name\\" \\"username\\",\r\n\t\t\t\\"password\\" \\"password\\",\r\n \\"subject\\" \\"hello\\",\r\n \\"body\\" \\"from pathfix\\",\r\n \\"attachements\\" \[\r\n {\r\n \\"name\\" \\"filename txt\\",\r\n \\"content\\" \\"text content in file\\",\r\n \\"type\\" \\"text\\"\r\n }\r\n ]\r\n }\r\n }\r\n}", "language" "json" } ], "selectedlanguageid" "encjz9tstg38f0x taa4x" }, "description" "\ncall the following api ", "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } }