bitburner-src/markdown/bitburner.ns.relaysmtp.md

36 lines
650 B
Markdown
Raw Normal View History

2021-10-30 18:34:14 +02:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [NS](./bitburner.ns.md) &gt; [relaysmtp](./bitburner.ns.relaysmtp.md)
## NS.relaysmtp() method
Runs the relaySMTP.exe program on the target server. relaySMTP.exe must exist on your home computer.
<b>Signature:</b>
```typescript
relaysmtp(host: Host): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| host | [Host](./bitburner.host.md) | Hostname or IP of the target server. |
<b>Returns:</b>
void
## Remarks
0.05 GB
## Example
```js
relaysmtp("foodnstuff");
```