Email attachement

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
1/4/2011 4:25:48 AM
Gravatar
Total Posts 7

Email attachement

Hi All,

I'm beginner with MojoPortal, i need to attach a document or pdf file and send it via email.

please any body made this change help me.

 

Best Wishes,

 Ahmad

1/4/2011 5:06:53 AM
Gravatar
Total Posts 550

Re: Email attachement

Hi,

Where  do you need this facility? In the contact form feature? or in a news letter?. Please explain more about your need may be any body help you.

Best,

Asad

1/4/2011 5:17:18 AM
Gravatar
Total Posts 7

Re: Email attachement

Hi asad,

I need this feature in Contact Form,

what i need exactly to allow to send one or more file with the email in Contact Form

 

Regards,

Ahmad

1/4/2011 5:27:00 AM
Gravatar
Total Posts 550

Re: Email attachement

Hi Ahmad ,

Sorry, the contact form not supports this feature. I think you upload your attachment file to and insert it's download link in message body.

Hope Helps,

Best,

Asad

1/4/2011 5:33:21 AM
Gravatar
Total Posts 7

Re: Email attachement

Hi Asad,

First of all thanks for your fast reply,

i know this feature not exist but what i need if any body already do it can help me.

 

Regards,

Ahmad

1/4/2011 5:40:48 AM
Gravatar
Total Posts 550

Re: Email attachement

Hi,

If you have budget for it you can add a topic with an email for contact in the job board forum on this site. May be me or others interested to doing that.

Best,

Asad

1/4/2011 8:05:53 AM
Gravatar
Total Posts 18439

Re: Email attachement

Hi,

This is the developer forum so I assume you are asking how to send email with attachments from code.

We have a method for sending Email and it has overloads for attachments

mojoPortal.Net.Email.SendEmailNormal(..)

use the overload of that method that supports attachments, you basically pass in 2 string arrays, one has the attachment file names and one has the full file paths to the attachment file(s) (so the file(s) must exist on disk somewhere).

You could clone the Contact Form feature and implement attachments but keep in mind there can be security risks in letting strangers upload files.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.