Email-Icon Created with Sketch. Group 3 Created with Sketch. Domains-SVG-Box Created with Sketch. Domains-SVG-Box Created with Sketch. Domains-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Icon-Internet Created with Sketch. Hosting-SVG-Box Created with Sketch. Icon-Internet Created with Sketch. Icon-Internet Created with Sketch. Hosting-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Trust Pilot Stars Created with Sketch. 1-5-million Created with Sketch. Control-panel-Icon Created with Sketch. WSB-Brush Created with Sketch. WSB-Brush Created with Sketch. WSB-Brush Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. icon-slider-next Created with Sketch. icon-slider-prev Created with Sketch. Webmail-icon Created with Sketch. heart Created with Sketch. Open-24-7 Created with Sketch. open24 Created with Sketch. 24 7 trusted Created with Sketch. Fill 1 Created with Sketch.

Kan jeg sende mails fra min webside?

Hvis du ønsker at sende e-mails fra din web-side via et script, kan det naturligvis godt lade sig gøre.

Der er forskellige måder at gøre dette på. Vi anbefaler, at du bruger Metode 1 som beskrevet nedenfor.


Metode 1 - Send e-mails ved brug af PHPs "mail"-funktion (anbefalet)

Vi anbefaler, at du anvender PHPs "mail"-funktion til dette:

Lær mere om PHPs "mail"-funktion

Bemærk at e-mailadressen i "til" eller "fra" skal være en aktiv e-mailkonto på dit domæne hos One.com.


Metode 2 - Send e-mails ved brug af SMTP

Hvis du hellere vil sende e-mails ved brug af SMTP via et script fra dit site, skal følgende information bruges til konfigurationen:

  • Udgående servernavn: mailout.one.com
  • Port og kryptering:
    - 587 med STARTTLS (anbefalet)
    - 465 med TLS
    - 25 med STARTTLS eller intet
  • Godkendelse: din e-mailadresse og adgangskode

Bemærk at e-mailadressen i "fra" skal være en aktiv e-mailkonto på dit domæne hos One.com, og at det skal være den samme e-mailadresse, som du brugte til godkendelsen.


Relaterede artikler:

Hvordan opsætter jeg FormMail?
Hvordan sendes nyhedsbreve via One.coms mailservice?