Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Poblem sa skriptom za slanje mejla

[es] :: .NET :: ASP.NET :: Poblem sa skriptom za slanje mejla

[ Pregleda: 2810 | Odgovora: 10 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

mramorcanin
Truja Sava
Agencija TrujaGroup
Mramorak

Član broj: 38995
Poruke: 204
*.3dnet.rs.

Jabber: trujagroup@gmail.com
Sajt: www.trujagroup.com


+1 Profil

icon Poblem sa skriptom za slanje mejla14.09.2009. u 15:40 - pre 176 meseci
Radim jedan sajt u flashu i dobio sam php skriptu za slanje mejlova i komentara sa sajta, pa ne znam da je podesim. Ako neko moze da pomogne , postavicu je ovde
Code:

on (rollOver) {
    this.gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
    this.gotoAndPlay("s2");
}



on (release) {
    for (i=1; i<_parent.fields_descriptions.length; i++) {
        if (_parent[_parent.fields_descriptions[i][1]]!=_parent.fields_descriptions[i][2]) {
            this[_parent.fields_descriptions[i][1]]=_parent[_parent.fields_descriptions[i][1]]+"&777&"+_parent.fields_descriptions[i][2];
        }
        _parent.reset_txt(_parent["t"+i], _parent.fields_descriptions[i][1], _parent.fields_descriptions[i][2]);
    }

    this.recipient=_parent.rec;
    i=undefined;
    getURL("contact."+_parent.serv, "_blank", "POST");
    
}

Skype : trujagroup
msn : [email protected]
 
Odgovor na temu

Tudfa
Jovicevic Vladimir

Član broj: 152699
Poruke: 384
*.dynamic.sbb.rs.



+3 Profil

icon Re: Poblem sa skriptom za slanje mejla14.09.2009. u 17:27 - pre 176 meseci
Proveri na koji nacin ta skripta salje mail (pretpostavljam sa mail funkcijom)
Vidi za svaki slucaj da li ti hosting podrzava taj nacin slanja maila(probaj bez flash-a cisto da znas jel radi).

Iz ovog AS sve sto se tice php-a je to da funkcija getURL ima za parametar taj contact.php koji ce biti pozvan.
Ostavi taj php fajl ili link do cele skripte, jer iskeno ovaj actionscript sto si prilozio nema neke veze sa php-om.

Ako sumnjas na AS, mozda je bolje da pitas na Flash forumu.
 
Odgovor na temu

mramorcanin
Truja Sava
Agencija TrujaGroup
Mramorak

Član broj: 38995
Poruke: 204
*.3dnet.rs.

Jabber: trujagroup@gmail.com
Sajt: www.trujagroup.com


+1 Profil

icon Re: Poblem sa skriptom za slanje mejla14.09.2009. u 21:25 - pre 176 meseci
dobio sam od jednog poznanika iz venecuele tako da nemam link

evo coda

Code:

<%
    for i=1 to 7
         message=message + "<strong>"&Request("field_"&i&"_descr")&"</strong>&nbsp;&nbsp;&nbsp;"&Request("field_"&i)&"<br>"
    next
         message=message + Request("message")    
        smtpServer = "mail.trujagroup.com"
        smtpPort = 25
        

        name = Request("your_name")
        Set myMail = CreateObject("CDO.Message") 
        myMail.Subject = "from " & name
        myMail.From = Request("your_email")
        myMail.To = Request("recipient")
        myMail.HTMLBody = "<html><head><title>Contact letter</title></head><body><br>" & message & "</body></html>"
        myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
        myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smtpServer
        myMail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = smtpPort
        myMail.Configuration.Fields.Update 
        myMail.Send
    
%>



ne znam gde treba tu da stoji moja mejl adresa na koju treba da stizu mejlovi, stavio sam smtp
Skype : trujagroup
msn : [email protected]
 
Odgovor na temu

mramorcanin
Truja Sava
Agencija TrujaGroup
Mramorak

Član broj: 38995
Poruke: 204
*.3dnet.rs.

Jabber: trujagroup@gmail.com
Sajt: www.trujagroup.com


+1 Profil

icon Re: Poblem sa skriptom za slanje mejla14.09.2009. u 21:31 - pre 176 meseci
Izbacuje mi gresku 401 - Autorization Required

Internal server error

We’re sorry for the inconvenience, but there has been an internal server error. Please click on the back button to return to the former page.
Skype : trujagroup
msn : [email protected]
 
Odgovor na temu

mramorcanin
Truja Sava
Agencija TrujaGroup
Mramorak

Član broj: 38995
Poruke: 204
*.3dnet.rs.

Jabber: trujagroup@gmail.com
Sajt: www.trujagroup.com


+1 Profil

icon Re: Poblem sa skriptom za slanje mejla14.09.2009. u 21:32 - pre 176 meseci
a sajt se nalazi na radni.trujagroup.com u meniju - kontakt
Skype : trujagroup
msn : [email protected]
 
Odgovor na temu

dakipro
Dalibor Jovic
Web Developer
Bergen, Norway

Član broj: 31848
Poruke: 1792
*.adsl.beotel.net.

Sajt: norway.dakipro.com


+190 Profil

icon Re: Poblem sa skriptom za slanje mejla14.09.2009. u 21:33 - pre 176 meseci
A u kom ti je programskom jeziku kod koji si poslednji postovao?
 
Odgovor na temu

markom
Marko Milivojević
Network Engineer
Google
Mountain View

Član broj: 18427
Poruke: 4227
*.du.xdsl.is.

Sajt: https://markom.rs


+16 Profil

icon Re: Poblem sa skriptom za slanje mejla14.09.2009. u 21:35 - pre 176 meseci
Mom neiskusnom oku ono liči na neki Basic, ali nisam siguran... PHP nije, to je očigledno :-).
 
Odgovor na temu

Tudfa
Jovicevic Vladimir

Član broj: 152699
Poruke: 384
*.dynamic.sbb.rs.



+3 Profil

icon Re: Poblem sa skriptom za slanje mejla14.09.2009. u 21:41 - pre 176 meseci
Pre da je ASP(ne koristim ga pa ti ne mogu pomoci), mozda je bolje da pitas na drugom forumu, ili da se samo tema tamo prebaci.
 
Odgovor na temu

mramorcanin
Truja Sava
Agencija TrujaGroup
Mramorak

Član broj: 38995
Poruke: 204
*.3dnet.rs.

Jabber: trujagroup@gmail.com
Sajt: www.trujagroup.com


+1 Profil

icon Re: Poblem sa skriptom za slanje mejla14.09.2009. u 21:48 - pre 176 meseci
ekstenzija je .asp, tek sam ja neiskusan , ali sam ovo nasao o tome

ASP - Active Server Pages


(asp)

A Microsoft specification for dynamic web pages created using Visual Basic or Jscript (engines for Perl and REXX are also available). Pages written to this specification carry the extension .ASP and are similar to CGI scripts which generate code on the fly. ASP pages can combine HTML, scripts, and ActiveX server components.
Skype : trujagroup
msn : [email protected]
 
Odgovor na temu

mramorcanin
Truja Sava
Agencija TrujaGroup
Mramorak

Član broj: 38995
Poruke: 204
*.3dnet.rs.

Jabber: trujagroup@gmail.com
Sajt: www.trujagroup.com


+1 Profil

icon Re: Poblem sa skriptom za slanje mejla14.09.2009. u 21:55 - pre 176 meseci
Hvala Nemanja, valjda ce neko da se javi, ima 3 koda to me je zbunilo jedan od njih je php ali je u njemu definisana samo error poruka a u asp kod za mejl. Valjda ce se neko javiti.

Skype : trujagroup
msn : [email protected]
 
Odgovor na temu

[es] :: .NET :: ASP.NET :: Poblem sa skriptom za slanje mejla

[ Pregleda: 2810 | Odgovora: 10 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.