envoyer un mail on sait faire (faire ouvrir la boite d'envoi)
le question est que j'aimerai de base rajouté un fichier que j'ai généré en fichier joint
merci pour un coup de palluche
rappel
source pour les mails : (depuis un CStatic)
void BLabel::SetMail(const CString strMail, const BOOL bUseIEStyle/*= FALSE*/)
{
/// ------------------------------------------------------------------------------------------------
/// ---------------- BLabel::SetMail(const CString strMail ,const BOOL bUseIEStyle) ----------------
/// ------------------------------------------------------------------------------------------------
/// ----- Objectif : init un lien vers une adresse EMail
/// ----- Auteur(s) : Magic_Nono 15/07/04
/// ----- PreCond : strMail de type 'a@a.a'
/// ----- PostCond : /
/// ----- Etat : 1 (-1<0<1<2)
/// ------------------------------------------------------------------------------------------------
/// ----- const CString strMail : mail
/// ----- const BOOL bUseIEStyle(par défaut : 'FALSE') : cf UseIELinkStyle()
/// ------------------------------------------------------------------------------------------------
/// ----- Var Muettes (cf.partie préc) (2) : bUseIEStyle ,strMail
/// ----- Var Internes à la fonction (1) : strURL
/// ----- Var In (2) : bUseIEStyle ,strMail
if(strMail =="")
{
RemoveUrl();
return;
}
CString strURL="mailto:";
strURL+=strMail;
SetUrl(strURL,bUseIEStyle);
return;
}
avec la srce CLablel de G Allouche alias garslouche
++
Magic Nono:
l'informagicien!