You are calling SendContactUsMessage(...
which in turn calls
return SendNotification(messageTemplate, emailAccount, languageId, tokens, toEmail, toName,
fromEmail: fromEmail,
fromName: fromName,
subject: subject,
replyToEmailAddress: senderEmail,
replyToName: senderName);
but it does not pass in the attachment details in the parameters
public virtual int SendNotification(MessageTemplate messageTemplate,
EmailAccount emailAccount, int languageId, IEnumerable<Token> tokens,
string toEmailAddress, string toName,
string attachmentFilePath = null, string attachmentFileName = null,
string replyToEmailAddress = null, string replyToName = null,
string fromEmail = null, string fromName = null, string subject = null)
{
Is your file being uploaded to the server – can you see it - in what directory ?
You need to provide the attachmentFilePath and read more here attachmentFileName to SendNotification if you are going to use that method
which in turn calls
return SendNotification(messageTemplate, emailAccount, languageId, tokens, toEmail, toName,
fromEmail: fromEmail,
fromName: fromName,
subject: subject,
replyToEmailAddress: senderEmail,
replyToName: senderName);
but it does not pass in the attachment details in the parameters
public virtual int SendNotification(MessageTemplate messageTemplate,
EmailAccount emailAccount, int languageId, IEnumerable<Token> tokens,
string toEmailAddress, string toName,
string attachmentFilePath = null, string attachmentFileName = null,
string replyToEmailAddress = null, string replyToName = null,
string fromEmail = null, string fromName = null, string subject = null)
{
Is your file being uploaded to the server – can you see it - in what directory ?
You need to provide the attachmentFilePath and read more here attachmentFileName to SendNotification if you are going to use that method
Thanks for the upvote and actualizing info1