Jump to content
Server Maintenance This Week. ×

base elements script step 'BE_SMTPsend' with an attachment fails


This topic is 1196 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I'm having a problem getting BE_SMTPsend to successfully send an email with an attachment.

No problem sending without an attachment, but when I add an attachment, I get an error 2 (not sure exactly what that means, but without the attachment, no error)

These are the argument strings with and without attachments:

1919235413_BE_SMTPsendwithattachment.png.66a35e95d11e1cbb6dead81269d6648e.png1130791686_BE_SMTPsendnoattachment.png.52b35fe96000a2b21ea04f97b8d66bc2.png

I have tried both relative and direct file paths for the variable $attachment. Examples are:

482246131_relativefilereference.png.35c7095d86af81e001c3e62f1da67eac.png

146277800_directfilereference.thumb.png.6189bf3bb79166fc89d722ffe8f45ce3.png

Both of them return an error code of 2.

Since the 'send' without an attachment works, all the values of the fields/variables other than $attachment must be valid.

Can anyone offer a suggestion as to what might be going on and what I might try to resolve this?

 

Link to comment
Share on other sites

This topic is 1196 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.